fatal: unable to access ‘https://github xxxxxxxxx的解决方法

问题重现:

$ git clone -b v2.24.0 https://github.com/IntelRealSense/librealsense.git
Cloning into 'librealsense'...
fatal: unable to access 'https://github.com/IntelRealSense/librealsense.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.

解决方法:

将命令中的 https改为 git 

git clone -b v2.24.0 git://github.com/IntelRealSense/librealsense.git

原文地址:https://www.cnblogs.com/dier-gaohe/p/14502809.html