git|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|fatal: unable to access ‘https://github xxxxxxxxx的解决方法】git clone -b v2.24.0 git://github.com/IntelRealSense/librealsense.git

    推荐阅读