[Solved] error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.

mkdir ~/.git-rectify    (. stands for hidden)
        1. mkdir ~/.git-rectify (. stands for hidden)

      cd ~/git-rectify

 

        1. apt-get source gitsudo apt-get build-dep gitsudo apt-get install libcurl4-openssl-devcd git-2.17.1/vim ./debian/control #modify

      libcurl4-gnutls-dev to libcurl4-openssl-dev

 

    1. vim ./debian/rules # Delete sudo dpkg-buildpackage -rfakeroot -bcd …

 

    1. sudo dpkg -i git_2.17.1-1ubuntu0.4_amd64.deb

 

Read More: