Git is a powerful tool. Once you’ve mastered and , there are endless possibilities. A very useful one is . It helps you find a commit that introduced a certain change in behavior. commit merge [git-bisect](https://git-scm.com/docs/git-bisect) We use a lot in the . The Node.js project has good continuous integration but some bugs are only discovered after a release. With , it’s easy to find the bad commit. git-bisect Node.js project git-bisect Try it! If you want to try out , here is a . At some point, a bug was introduced as you can see by running . Can you find the bad commit? git-bisect demo repository npx mocha test1.js Use this repository to practice git bisect. Automating git-bisect Instead of testing each step manually, you can run with a script. It will use the script at each step and automatically mark the commit, until it finds the . git-bisect first bad commit