I would like to be somewhat forgiving here and prepend `refs/heads/` if not included.  That is what `getAheadBehindCount` does.