One other big difference with a pre-commit hook is that you are integrated with your team / software. Like other CI tools, you centralized your build, precommit stays on your machine.
It is a remote CI/CD that delivers output directly as part of your git push. No web interface, no polling. What we experience is that it keeps us (and Claude) in the flow, no context switching.