Local History for Visual Studio automatically creates a history of your files every time they are saved. The history can be compared with the current version.