Git Search All Commits для строки

git log -S <whatever> --source --all
Friendly Hawk