git stash save to an index a stash 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 remove first stash
git stash drop 0
git stash
git checkout -b xxx
git stash pop
git stash drop 0