how to pull a commit out of a branch and put it in another branch code example Example: update one branch to another git checkout feature1 git merge develop