History (the clock at the top, next to Saved) lists restore points: copies of the project’s files from earlier. Restore puts the files back to how they were then.
Code LE keeps a restore point by itself when you start editing after 10 minutes or more, when you first change a project after opening it, and before a bigger change: an AI change, an agent’s change, Replace all and restoring. To keep one yourself, type a name (such as Before the new header) and press Save a restore point. Named points are kept longest.
Restoring is safe: a restore point of how the project is just before is kept first, so you can go back to that too.
Restore points stay with the project, so they follow it to every device you sign in on. They keep the text files; pictures stay as they are now (a picture deleted since can’t come back). Up to 30 are kept; the oldest unnamed ones make room for new ones.