# Initial clone
GIT_SSL_CAINFO=/path/to/certificate.pem
git clone https://username@git.example.com/scm/repository.git
# Ensure all future interactions with origin remote also work
cd repository
git config http.sslCAInfo /path/to/certificate.pem
Example:
508 cat /c/myCA.pem >> /c/Git/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
510 git config http.sslCAinfo /c/Git/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
511 git push -u origin master