There's no such thing as a remote pre-commit hook. Do you mean a pre-push hook? That's a different story, but even then what you really want is to just deny access to shared branches, except to your CI system, which will run your checks before allowing you to merge.
GitHub/GitLab/BitBucket/etc all have this kind of system, it's not new or interesting.