Esto funcionó para mí (estoy usando Manjaro Linux). Ejecuto el cmd para ver los certificados ca:
$ curl-config --ca
**/etc/ssl/certs/ca-certificates.crt**
Pero en realidad encontré los certificados en la ruta:
**/etc/ca-certificates/extracted/ca-bundle.trust.crt**
Luego agregue la configuración en ~ / .gitconfig (si no existe, créelo):
**vim ~/.gitconfig**
[http]
sslVerify = true
sslCAinfo = /etc/ca-certificates/extracted/ca-bundle.trust.crt
[user]
email = <email of github account>
name = <username of github account>
¡Funciona!
.rbenv]$ git pull
remote: Counting objects: 70, done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 70 (delta 39), reused 12 (delta 12), pack-reused 6
Unpacking objects: 100% (70/70), done.
From https://github.com/sstephenson/rbenv
c43928a..efb187f master -> origin/master
+ 37ec781...7e57b52 user-gems -> origin/user-gems (forced update)
Updating c43928a..efb187f
Fast-forward
libexec/rbenv-init | 4 ++--
libexec/rbenv-version-file | 1 +
test/init.bats | 2 +-
test/test_helper.bash | 25 +++++++++++++++----------
4 files changed, 19 insertions(+), 13 deletions(-)