As git based on ssh application (layer), we can take advantage of this ability to troubleshoot the connection underline

GIT_SSH_COMMAND="ssh -vvv" git pull