Find the commit SHA when you've deleted the file, then checkout back to restore it.

git log --all -- <path-to-file>
git checkout <SHA>^ -- /path/to/file

For more you can read from the original post on stackoverflow.