Introduction
When you have a bug but don't know which commit caused it, git bisect run helps you find the exact commit automatically by running a test script on each step.
When you want to find the commit that introduced a bug without manually checking each commit.
When you have a test script that can tell if the bug is present or not.
When you want to save time by automating the bisect process instead of manual testing.
When you have a large number of commits and manual bisecting is too slow.
When you want to integrate bisecting into a CI/CD pipeline for automatic bug detection.