git-branch: improve abbreviation of sha1s in verbose mode