Add "git" method to Command class