GitCommand improvements.
test: ok.
GitCommand prototipize sub-commands.