Git
To revert to a specific version:
git log
Assuming the hash of the commit you want is c5f567:
git checkout c5f567 -- file1/to/restore file2/to/restore
If you want to revert to the commit before c5f567, append ~1 (works with any number):
git checkout c5f567~1 -- file1/to/restore file2/to/restore