I forked the joind.in project on GitHub, committed a few patches and sent pull requests. It was fun until I asked myself “how do I keep my fork synced with the maintainer’s repo?” I found the info (with minor bug) on Google Groups by Matt Todd. It deserved its own post post.
Create and checkout “upstream/master” branch (or whatever you want to call it):
git checkout -b upstream/master
Link branch to maintainer’s repo:
git remote add upstream git://github.com/upstream_maintainer/master.git
Pull maintainer’s repo: