Add a form to fill before any commit


We are working with Git and we would like to create a form that will be loaded at every commit (like in pre-commit hook). The purpose is that in every commit - the developer will fill details regarding the code change he/she did, what was unit tested and so.

We currently do it using calling a google form from the precommit hook of git, but we though maybe there is a better way through git / gitlab that we are not familiar with.

Any idea ?

Thanks !!