git check file out from commit code example
Example: pull file from specific commit git
git checkout <COMMIT_HASH> <path/to/the/messed/up/file>
Example:
git checkout f08a63ff4fa7b8479f8c698e5998ee1afcac3a4e GoodFile
git checkout <COMMIT_HASH> <path/to/the/messed/up/file>
Example:
git checkout f08a63ff4fa7b8479f8c698e5998ee1afcac3a4e GoodFile