Enabling File Protection allows you to track changes of files and easily restore them.

It's a fully customizable feature.