git get changes from another branch local code example Example: update one branch to another git checkout feature1 git merge develop