FIXES: gh and gha unpredictability
FIXES: gh and gha unpredictability

What change was done:

	modified:   shells/bash/functions.bash

Why was this change made:

  Some bugs were discovered with gh and gha after the previous git
  rev-parse so this change fixes that.

Outstanding issues:

  More testing with branches in different repos

    repos only containing master
    repos only containing gh-pages
    repos containing both master gh-pages
    repos containing master gh-pages and other branches

0xMF/dotfiles