added git PS1 helper function __git_ps1_show_sha