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