ensures current branch is master
git checkout masterpulls all new commits made to upstream/master
git pull upstream masterthis will delete all your local changes to master
git reset --hard upstream/mastertake care, this will delete all your changes on your forked master
git push origin master --force