Use the following to accept a self-signed certificate:
$ git config --global http.sslVerify false
Refer: https://confluence.atlassian.com/fishkb/unable-to-clone-git-repository-due-to-self-signed-certificate-376838977.html

Technical notes, and other ideas.
Use the following to accept a self-signed certificate:
$ git config --global http.sslVerify false
Refer: https://confluence.atlassian.com/fishkb/unable-to-clone-git-repository-due-to-self-signed-certificate-376838977.html