List all commits (across all branches) for a given file December 23, 2022 by Tarik Try this: git log --all -- path