Recovering lost files using git

git log --all --full-history -- <path-to-file>

git log --all --full-history -- **/partofname.*