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.