Show all git log entries that concern a certain (existing or non-existing) file path:
git log --all -- <path>
path is a git pathspec that can contain *s and ?s (more info here)
Add a modifier like --stat, --name-status or --name-only for more informative output
Example: Finding when that folder was deleted in order to restore it
git log --all --name-status -- 'src/test/scala/se/appland/somefolder*'