how to do stash active and create new branch from these state of project code example Example: how to stash changes and use in another brunch git stash git checkout -b xxx git stash pop