https://stackoverflow.com/questions/7203515/git-how-to-find-a-deleted-file-in-the-project-commit-history/7203551#7203551 If you do not know the exact path you may use git log --all --full-history -- "**/thefile.*" If you know the path the file was at, you can do this: git log --all --full-history -- This should show a list of commits in all branches which touched that file. Then, you can find the version of the file you want, and display it with... git show -- Or restore it into your working copy with: git checkout ^ --