The Krita VCS plugin (aka Krita VC)
A small Version Control panel that lives inside Krita, so you can save a version, set work aside, or switch to another line of work without leaving your canvas. It uses the same engine and the same history as the Krita VCS app, so a version saved in one shows up in the other. It needs the app installed too.
Download the plugin← Krita plugin
Going back to your last version
Discard puts your painting back the way your last version had it. Everything since then, including work the panel saved for you, is gone for good, and it won't be in Krita's undo history either.
The panel asks first. If there's any chance you'll want the work back, set it aside instead.