Recovering lost files using git by Daniel J Sperka September 10, 2019 git log --all --full-history -- <path-to-file> git log --all --full-history -- **/partofname.*