# in unix put this in your .bash_profile, while
# in windows put it in a batch script that runs at startup or
# simply run it before cloning the repo
git config --global http.sslVerify false
git config --global http.sslBackend channel
OR
git config --global http.sslbackend schannel
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);