According to this link, it is possible to conntect to the corporate Git from SAP Web IDE:
https://help.hana.ondemand.com/webide/frameset.htm?b8427ec16ae64347b97d2d46fb28f7cd.html
I set up Git, enabled access over HTTPS, installed SAP Cloud Connector, configured Cloud to On-Premise tunnel, configured available resources, connected to the SAP Cloud Platform, created and configured the destination for the on-premise Git, enabled "Corp. Git Link for SAP Web IDE" service, checked connectivity on every step and everything seems to be fine.
Git repository in the intranet can be accessed on https://githost:4431/Repository.git (with basic authentication).
Virtual host in SAP Cloud Connector is "git", port is "4432".
Destination name in SAP Cloud Plaftorm is "GIT_HTTPS" (I tried with and without authentication).
However, I am not able to clone the repository in SAP Web IDE. No matter what I enter in the URL text box, I get "502 Host not found" error.
What URL should I specify?
Ok, I have figured it out. There is a mistake in the documentation. Instead of:
..one should read:
So the correct address would be:
https://git:4332/Repository.git