Updated Feb 8, 2011: Handle indescribable HEAD (can happen during conflicts). When I work with Git repositories, I like to have a visual cue as to whether there are modifications in my working copy. Here’s a snippet for your ~/.bashrc to insert info about your git status into your bash prompt in a concise but informative fashion, as in the screenshot on the right: Green: Pristine working copy Yell