git commander refactoring