move modification from a branch to another branch in git code example
Example 1: move update from one branch to another git
git checkout -b newbranchname
Example 2: move update from one branch to another git
git stash pop
git checkout -b newbranchname
git stash pop