While trying to use git clone on my CentOS server, I encountered fatal: HTTP request failed with error description showing something being wrong with my SSL CA Root certificates as shown below. To resolve this error simply follow any one of the solution posted below.
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/........