Kerberos protocol is not taken into account on post push messages.
Summary
When moving projects, if the URL was using Kerberos, this is not taken into account and will print a post push message pointing to the HTTP url.
This might be in several places around the code as well, as it turns out not to be the first time the Kerberos protocol is omitted.
Steps to reproduce
Clone a project with a Kerberos URL, move it, push to the project and watch the post push message remote URL.
What is the current bug behavior?
The printed URL points to HTTP, not Kerberos.
What is the expected correct behavior?
It should print the Kerberos URL.
Possible fixes
https://gitlab.com/gitlab-org/gitlab-ee/blob/v11.9.9-ee/lib/gitlab/checks/post_push_message.rb#L44
Edited by Daniel Juarez