Git stash: Save locally your work and navigate to another branch

Sometimes you need to navigate to another branch, but you already have many files changed and your job isn't done, that is the case where you can to use git stash.

Step 1: Saving the work

git stash

Step 2: Recovering your work

Now, when you return to the branch that you want to continue your work, just run the command below:

git stash pop

👍