Set up Endor Labs and scan your code for risks.
Recent revisions are kept. Restoring one creates a new revision.