<p>Is there a command that would allow me to check if the string <code>"xyz"</code> was ever in file <code>foo.c</code> in the repository and print which revisions they were found in?  </p>

This will print any commits where the diff contains xyz
```
```
git log -Sxyz foo.c
```
```