When something worked last month and fails today, git bisect finds the guilty commit in O(log n) steps.
git bisect start
git bisect bad # current commit is broken
git bisect good v1.4.0 # last known good tag
Git checks out a commit in the middle. Test it, then run git bisect good or git bisect bad. Repeat until git prints the first bad commit.
You can automate it with a script: git bisect run ./test.sh. Finish with git bisect reset.