SSH url always shown in "Check out branch" button in MRs
Summary
When looking to fetch an MR, Gitlab is always giving the SSH url for fetching. For example, on !6599 (merged), I'm seeing the following:
git fetch git@gitlab.com:jdipierro/gitlab-ce.git memoize_shell_secret_token
git checkout -b jdipierro/gitlab-ce-memoize_shell_secret_token FETCH_HEAD
even though I have no access to the repo via SSH. From some cursory searching, it seems this broke in 512adc21 (!4696 (merged)).
Steps to reproduce
View an MR "Check out branch" button.
Expected behavior
See unauthenticated clone URL.
Actual behavior
SSH clone URL.