To search the content of commits, as opposed to the metadata like the commit message, run this:
$ git grep REGEX $(git rev-list --all)
To search the commit messages, run that:
$ git log --all --grep REGEX
I work as a freelancer, so if you don’t want to do that kind of things yourself or don’t have the time, just drop me a line to hire me.