add changes in other branch to current branch as commit git code example Example: update one branch to another git checkout feature1 git merge develop