set git configuration in gitlab CI for default branch to prevent hint message

As far as i experienced, the only way to disable this message is to set the config globally in the .gitconfig of the user running the gitlab-runner.

This can either be done on the underlying VM if you use the shell-runner or inside the used docker-image when using the docker-runner