Bring your local Git main branch up to date.
Recent revisions are kept. Restoring one creates a new revision.