Completely Disable GIT Access Over HTTP(S)

Hi,

I would like to completely disable GIT access over http(s).

In this official article, it explicitly states that the setting described in the article cannot prevent people from cloning over http(s) (if the user somehow knows the URL, which isn’t secretive at all).

The main reason that I don’t want to allow GIT access over http(s) is that I don’t want anyone trying to brute-force the access token/password to gain access to a GIT repository he/she isn’t supposed to have access.

And it seems like another user also asked for the same thing but no response.

Tho, it seems a feature is implemented. But I can’t find the feature anywhere in admin panel.

Any input is welcome.