The day i discovered github.com, i was amazed about how many projects there are.
I started to contribute to some projects, which led quickly to this behaviour:
So now i have all these forks which are not updated with the latest commits from upstream.
Happily there is an easy 4-step solution for this:
Clone your fork:
git clone email@example.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
Add git remote from original repository to your forked repository:
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
Update your fork from original repo to keep up with their changes:
git pull upstream master
push back changes to your repo: