How to keep a fork up-to-date?

  1. cd into your repo (clone it if you have not yet)

  2. git remote add upstream git://github.com/<ORIGINAL-REPO-NAME>.git

  3. git fetch upstream

  4. git pull upstream master

  5. git push origin master