git update 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
git checkout feature1
git merge develop
git fetch origin master:master