Bonus: TextMate Integration
To use TextMate to edit your commit messages, put the following in your ~/.bashrc or ~/.bash_profile (or other dot goodness):
export GIT_EDITOR="mate -w"
Since Git is isn’t installed in /usr/bin/git where TextMate expects it, make a symlink:
sudo ln -s `which git` /usr/bin/git