sudo gem install cheat
Then do :
cheat git
A great shortcut to all of the common git command sequences.
alias preview='groff -Tps > /tmp/tmp.ps && open -a Preview /tmp/tmp.ps'
So you can do :
cheat git | preview
P.S. As an added note, there are TONS of cheat sheets out there. Just do a 'cheat sheets' from the command line and you'll get the all listed. Some of the more common ones I would suspect in the HN community are :
cheat svn
cheat rails
cheat named_scope
cheat curl
cheat blueprint
cheat bash
cheat mysql
cheat ruby
alias preview='groff -Tps > /tmp/tmp.ps && open -a Preview /tmp/tmp.ps'
So you can do :
cheat git | preview