bot_git: renamed GitReference to CommitReference
bot_git: in general, classes should own the parsing of the output from which...

...they are generated
GitDir learned getCommit
GitDir learned getBranchReference