Git - Search string in Git history Posted on Last updated on 30 May 2022 In Git, we can search a string in git history with this command: git log -S string Reference: https://stackoverflow.com/a/4472267/4381022