To show the commits that changed a file, even if the file was deleted, run this command:
git log --full-history -- [file path]
If you want to see only the last commit, which deleted the file, use -1
in addition to the command above:
git log --full-history -1 -- [file path]
See also my article: Which commit deleted a file.