Refactor git "command" methods
Add more tests and fix the fixture's HEAD ref
Me no grammar.