We are trying to clone a Bitbucket repo and we get this error. We tried in multiple systems inside and outside the network. We still get the same error message. We have tried the options of changing the sslBackend to openssl and schannel.
git config --global http.sslBackend openSSL
For openssl we get this error message "fatal: unable to access : SSL certificate problem: unable to get local issuer certificate".
git config --global http.sslBackend schannel
For schannel we get the Error message "error: RPC failed; curl 56 Failure when receiving data from the peer".
We have tried the below commands too. It didn't work.
git config --global core.compression 0
git clone --depth 1 <repo_URI>
git fetch --unshallow
Please let us know if they are any other way to get this issue resolved.