Git Hooks: Check Code Quality & Unit Tests on Every Commit Automatically lint your code, check unit tests, and run static analysers every time you run “git commit”. It’s a developer’s local CI pipeline.