To grep for a search term inside of a git diff, you can use the -G flag. This will return any files (rather than specific lines) that match the pattern.
-G
git diff -G <search>
[[git]] [[shell]]