Git Bash Prompt is a simple prompt for bash to display git status information.
In .bashrc do the following:
. .git-prompt.bash
PS1="\u@\h:\w\$(git_bash_prompt)\$ "
^^^^^^^^^^^^^^^^^^^^^NOTE: The backslash before the $ is required.
![~/dev/git-bash-prompt [master ≡] $](/csc027/git-bash-prompt/raw/master/assets/sample-prompt.png)
![~/dev/git-bash-prompt [master ≡ +1 ~0 -0 | +1 ~0 -0 !] $](/csc027/git-bash-prompt/raw/master/assets/long-sample-prompt.png)