Check out example codes for "git clone the certificate chain was issued by an authority that is not trusted". It will help you in understanding the concepts better.

Code Example 1

git config --global http.sslVerify false

Learn ReactJs, React Native from akashmittal.com