Re-apply MR 1088 (Git hooks change)
This re-applies !1088 (merged) with a different approach, that should allow us to work around gitlab-workhorse#211 (closed).
Besides re-applying !1088 (merged) we add a new environment variable GITALY_TESTING_NO_GIT_HOOKS
that disables Git hooks. This variable is then used by workhorse in CI: gitlab-workhorse!374 (merged)
I have used custom CNG Gitaly builds to confirm that this mechanism works (via gitlab-org/build/CNG!204 (closed)).
Edited by GitLab Release Tools Bot