Our server is configured with self-signed certificates. Normally I would just copy the certificate chain and install the certificates in Trusted Roots. That works for the web-site, but git uses it's own repository. I am using Git-2.21.0. I have tried several options that involve mods to C:\Users\{username}.gitconfig:
[http "https://server/"] OR [http]
sslbackend = schannel <-- tells git to use windows SLL and cert store
checkRevoke = false <-- tells git to not check for revokation, does not seem to do anything
sslCAInfo = C:/Program Files/Git/mingw64/ssl/certs/mycert.cer <-- tells git to use desired cert
sslBackend = openssl <--tells git to Open ssl
sslVerify = false <--tells git to skip checking ssl
I tried multiple combinations of these from the Visual Studio Git interface. I can log on to the server, but can never get a clone operation to work. Whatever the problem is another developer has the same issue.