git log grep

Shell
git log --all --grep='Build 0051'

Source

Also in Shell: