Glossary: Git Beyond the Basics
grep
Also written: grep -q, grep -v, grep -c, git grep
A command that searches text for lines matching a pattern. It succeeds if it finds a match, `-q` prints nothing, `-v` keeps non-matching lines and `-c` counts matches.