Set up your repo's shared agent workflow.
Recent revisions are kept. Restoring one creates a new revision.