Githooks for web commits

I have Installed gitlab-ce in CentOS 7 server.
how can I set hooks for commits coming from the web? s.t pre-commit
I can do that as a user in my local machine after pull. but I want for the web
(I want to set local git hooks in the server for commits directly from the web)
I have set server side hooks s.t pre-receive , post-receive and update, and they work fine for web and cmd globally.