GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWSTASHSTATE=1
GIT_PS1_SHOWUPSTREAM=git
PS1='\[\e[0;92m\]\W\[\e[m\]$(__git_ps1 " (\[\e[0;93m\]%s\[\e[m\])") \$ '

GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWSTASHSTATE=1
GIT_PS1_SHOWUPSTREAM=git
PROMPT_COMMAND='__git_ps1 "\[\e[0;92m\]\W\[\e[m\]\[\e[0;93m\]" "\[\e[m\] \$ "'

Switch from PS1 to PROMPT_COMMAND
Switch from PS1 to PROMPT_COMMAND

Supposedly this is slightly faster.
