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.