revert a file to a specific commit using git
How to git revert a file to a specific commit using git
Assuming your commit id is 8a02c028git checkout 8a02c028 -- file1/to/restore file2/to/restore
git checkout 8a02c028 -- file1/to/restore file2/to/restore