git command stash to commit to another branch code example
Example 1: how to stash changes and use in another brunch
git stash
git checkout -b xxx
git stash pop
Example 2: git save to stash
git stash save "name to describe stashed content"
git stash
git checkout -b xxx
git stash pop
git stash save "name to describe stashed content"