Carlos, on a side note seems committing via the web UI fails when the hook is there (GIT_DIR seems to come undefined when a commit happens via the web UI instead of the cli), please have a look at [1]. [1] https://gitlab.gnome.org/Infrastructure/GitLab/issues/288