Add event tracking and feature flags to your code.
Recent revisions are kept. Restoring one creates a new revision.