Set git to trust http certificate
Sometimes git does not know whether it should trust the http certificate from git provider or not.
Especially if in your company you build your own git repository. The temporary solution we usually is ignore the sslVerify, which is not safe.
git config --global http.sslVerify false