I found a pretty neat tip today, and here it is in action:

It's a custom bash prompt that shows the status of the current directory if it's a git repo. Forgive the mouse, it was an innocent bystander. Yeah, I type ls a lot.
The red text is the directory.
The green text is the current branch.
A yellow lightning bolt indicates that there are uncommitted changes in the current repo. A yellow up arrow indicates you're ahead of the remote origin repo, a down arrow shows that you're behind. A double up/down arrow shows that you've diverged from the origin.
It was mentioned here, with the blog entry about the script here, and the bash script itself here.
The one in the screenshot is a little different from what I linked, but any programmer worth their salt should have no trouble tweaking it. I got rid of the parens around the branch, added my username and host in yellow, switched to the short directory form and used a traditional dollar/hash prompt instead of the custom arrow.
EDIT: My version with the customised prompt is now available as a gist.