You can do
git config http.sslVerify "false"
in your specific repo to disable SSL certificate checking for that repo only.
This won’t work with git clone, since you don’t yet have the local git repo to be able to set the flag in yet. Therefore in that case:
git -c http.sslVerify=false clone <path>
cd <directory>
git config http.sslVerify "false"