git checkout master git pull git checkout <branch> git merge master [ ... resolve any conflicts ... ] git add [files that were conflicted] git commit git push