Git Prompt Preview Installation mkdir -vp ~/.bash cd ~/.bash git clone git://github.com/xhs/git-prompt.git Edit your ~/.bash_profile or ~/.profile and add the following: source ~/.bash/git-prompt/git-prompt.sh export PS1="\u@\H: \W \$git_branch\$git_dirty > " License BSD 2-Clause