Use git-branch to determine current the current branch and head state instead of git-status. The former is a porcelain command with guaranteed output. Signed-off-by: Eric Callahan <arksine.code@gmail.com>