I have pushed multiple files to remote repository I want to make one file as older version code example Example: git revert one file git checkout HEAD -- /directory/my-file.txt