Searching for a file in all Git branches December 15, 2023 by Tarik This is one way: git log --all --name-only --pretty=format: | sort -u | grep _robot.php