how to merge code from master to feature branch in git code example Example: merge master into feature branch git checkout feature1 git merge master