update _git_version_git() to better parse `git branch`

Sometimes, `git branch` may output in color, which causes the regex search to fail.  Specifying --color=never fixes this.