See a GitHub repo's history and trade-offs.
Recent revisions are kept. Restoring one creates a new revision.