Turn working-tree changes into clear local commits.
Recent revisions are kept. Restoring one creates a new revision.