Environment setup stuff In addition to importing .gitconfig, use the following environment variables: GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_SHOWDIRTYSTATE=1