how to take all the comit changes to another branch in git code example
Example: how to save updated commits to another branch
git stash
git checkout other-branch
git stash pop
git stash
git checkout other-branch
git stash pop