Summary
To ignore SSL certificates when cloning a Git repository, one can disable SSL verification while running the git clone command by using the -c http.sslVerify=false flag.
1
Alternatively, one can prepend GIT_SSL_NO_VERIFY=true before every git command run to skip SSL verification.
2
According to