I tried routing, whitelisting IP, and it hasn't worked. So it seems that Repos are not connecting via the internet gateway. However, there is that message, so maybe you can open a ticket (I also will do it).
"Could not connect to the git server. Make sure the git server is accessible from Databricks. Connecting to a private git server requires additional setup. Please contact your Databricks representative for details."