Map a deep learning repo before you change it.
Recent revisions are kept. Restoring one creates a new revision.