Error setting certificate verify locations-Github: error cloning my private repository
I'm trying to clone my GitHub project using the https-URL, but it fails with an error “error setting certificate verify locations git”:
$ git clone https://foo@github.com/foo/foo-private.git
Cloning into foo-private...
Password:
error: error setting certificate verify locations:
CAfile: /bin/curl-ca-bundle.crt
CApath: none
while accessing https://foo@github.com/foo/foo-private.git/info/refs
fatal: HTTP request failed
Don’t know why getting error and whats going wrong?