I just have to highlight this great feature, I really encourage you to enable it.
Earlier today, I accidentally removed a Code Widget from a project that had a lot of custom coding. (several hours of work). And had since saved over the project file with the latest build, not realising I had deleted it.
I was so happy to be able to grab a version of the project from yesterday, copy the code and bring it back into the new version. Saved me so many hours of re-writing.