git stash create new branch code example
Example 1: git stash save name
$ git stash push -m "john-hancock"
$ git stash apply stash^{/john-hancock}
Example 2: how to stash changes and use in another brunch
git stash
git checkout -b xxx
git stash pop