search for keyword in files in all commits code example Example: git grep in commits $ git log --grep=word