how to pull from another branch and all it your new branch code example Example: update one branch to another git checkout feature1 git merge develop