Add git branch on the Bash command prompt Edit Delete bash git prompt ps1 sh Add $(__git_ps1) to PS1 as in stackoverflow.