git remote add upstream https://github.com/whoever/whatever.git git fetch upstream git checkout master git rebase upstream/master git push -f origin master