Connect your coding assistant to a Neo4j database.
Recent revisions are kept. Restoring one creates a new revision.