Whats the point of: /opt/gitlab/embedded/share/git-core/templates/hooks directory

What exaclty is the point of this directory. Nothing you put in there has any outcome on what is seen during the git clone process. I would really like to enforce a story number in all commits but cannot do that with gitlab.