Applying a bypass
You can try a bypass, that is, disable ssl checking in configurations or at run time.
Modify globally, via the command line
git config http.sslVerify false
Modifies at run time, ie for current session
env GIT_SSL_NO_VERIFY=true git clone https://git.....
Please be aware that there are security implications when disabling verification. Use this feature only when it is unavoidable.
Another rough way is in the git settings file, remove the line
[http]
sslCAinfo = /local/do/cert/curl-ca-bundle.crt
Configuring a valid certificate (cacert.pem)
However, the correct thing is to set up a valid certificate.
To do this, download cacert.pem:
curl http://curl.haxx.se/ca/cacert.pem -o /local/onde/quer/salvar/cacert.pem
Then edit the git settings file
[http]
sslCAinfo = /local/onde/salvou/o/cacert.pem
Tip: Another way to edit settings by command line:
git config --global http.sslCAinfo "/local/onde/salvou/o/cacert.pem"