Automate your repo with GitHub Actions workflows.
Recent revisions are kept. Restoring one creates a new revision.