Git config shortcuts for GitHub

Sam Elliott has posted some neat Git config tricks that allow some nice shortcuts for GitHub and Heroku:

This allows you to use shortcuts for cloning repositories:

$ git clone github:lenary/guides.git

and gists:

$ git clone gist:806037

I’m off to put these in my .gitconfig now.