update branch from another branch code example
Example 1: update one branch to another
git checkout feature1
git merge develop
Example 2: git update another branch
git fetch origin master:master
Example 3: move update from one branch to another git
git stash pop