git stash
With Git, you can put your current set of changes onto a virtual shelf called a stash. Stashes are useful, for example, to put aside a set of changes to work on higher priority tasks or to pull in new changes from another repository.
Stash local changes
To stash all local changes, go to Tools > Git > Local Repository > Stash and select Stash. The working copy is reset to the state it had after the last commit.
To save the current state of your unstaged files and reset the repository to its staged state, select Stash Unstaged Files.
Manage stashed changes
To display a dialog that shows all known stashes with options to restore, display or delete them, select Stashes.
Take a snapshot
To save a snapshot of your current work under a name for later reference, select Take Snapshot. The working copy is not changed. For example, if you want to try something and find out later that it does not work, you can discard the changes and return to the state of the snapshot.
Pop stashes
To remove a single stashed state from the stash list and apply it on top of the current working tree state, go to Tools > Git > Local Repository > Stash and select Stash Pop.
Available under certain Qt licenses.
Find out more.