If we have issue when trying to ssh, we can use ssh -vvv to examine on which step ssh fail. For connection to GIT via SSH. We can do the same also with the following command