[bash] git_ahead_behind: avoid printing errors if there only one commit
[bash] git_ahead_behind: drop extra semicolon at the end of line
[bash] git_ahead_behind: quoute variable in if [-z]