Stash



$ git stash        # saves all the changes and leaves the directory clean
Saved working directory and index state WIP on master: 6217360 last-commit
HEAD is now at 6217360 last-commit


$ git stash list
stash@{0}: WIP on master: 6217360 last-commit


$ git stash pop     # will merge the stashed changes