Adds display of git SHA if not on a named commit in bash prompt.
Saves history between sessions.