Git: Keeping a fork up to date 1. Clone your fork: git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git cd into/cloned/fork-repo 2. Add remote from original repository in your forked repository: git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git 3. Fetch all branches of remote upstream: git fetch upstream 4. Rewrite your master with upstream’s master using git rebase: git rebase upstream/master 5. Push your updates to master. You may need to force the push with “--force” git push origin master --force