Git Grep em todos os galhos

git grep "string/regexp" $(git rev-list --all)
Friendly Hawk