git update from another branch code example
Example 1: update one branch to another
git checkout feature1
git merge develop
Example 2: move update from one branch to another git
git stash pop
Example 3: move update from one branch to another git
git checkout -b newbranchname