Recently, I had to look for a bad(buggy) commit from a pool of hundreds of commits through. Luckily git provides you a cool tool to do the job for you its called
git bisect . It narrowed down my iterations to single digit integers where it could have gone to hundreds.
Guess what it uses binary search. 😜