Temporarily “shelve" (set aside) in-process changes and revert back to the working tree—to quickly fix a bug on production, for example. Once done, you can simply retrieve your shelved changes and continue where you left off.
CHECKPOINTING COMING SOON
Not every change you make will be ready to contribute back to the central repository. When working on a collection of local changes, save checkpoints of your work and restore the working copy to one of your previous checkpoints should things go awry.