The agent lists, reads and restores earlier file versions
You can ask the agent to list the saved versions of a workspace file, open an earlier one and compare it with the current text, then restore it. Versions saved in a different text encoding compare cleanly line by line.