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