How do I create global custom hooks?

Hello,

I am having trouble setting up global custom hooks in GitLab 11.11.2-ee.

The documentation says to edit the hooks in this location: /opt/gitlab/embedded/service/gitlab-shell/hooks

However when you open any of the hooks they have the following content:
#!/bin/sh
echo “The gitlab-shell hooks have been migrated to Gitaly, see https://gitlab.com/gitlab-org/gitaly/issues/1226
exit 1

Is the documentation out of date? Is there a new way to set up global hooks?

Thanks