update branch from another 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 checkout -b newbranchname
git checkout feature1
git merge develop
git checkout -b newbranchname