can you revert a single file back to a previous commit? code example Example: git revert commit for single file git checkout <commit_hash> path/to/file