Krita VCS

The Krita VCS plugin (aka Krita VC)

A small Version Control panel that lives right inside Krita, so you can save a version, set work aside, or switch branches without ever leaving your canvas. It runs on the exact same engine and the exact same history as the desktop app. Save from either one, and the other sees it.

Download the plugin
Krita plugin

Reverting to your last saved version

Discard reverts your ticked files to their last saved version. Everything since, including anything the panel auto-saved for you, is gone for good.

If there's any chance you'll want it back, use Set aside instead.