git global noverify

C++
git config http.sslVerify false
git global --local http.sslVerify falsegit config http.sslVerify "false"

Source

Also in C++: