If you report an error OpenSSL SSL_connect: Connection was reset in connection to github.com:443, you can try to log in to github with a password
env GIT_SSL_NO_VERIFY=true git clone https://github.com/xxx/xxx.git