how to merge a master branch into personal branch code example Example: merge master into local branch git checkout feature1 git merge master