Using git when ssh has been blocked
Network admins sometimes block port 22 for ‘security’ purposes. If you have configured your git remotes to use ssh, this also prevents you from pulling or pushing changes.
A quick workaround (source) is to add the following to your ~/.ssh/config
Host github.com
Hostname ssh.github.com
Port 443
Host gitlab.com
Hostname altssh.gitlab.com
Port 443
Host bitbucket.org
Hostname altssh.bitbucket.org
Port 443
Of course, the above won’t help you if you are using a different git host, but it’s better than nothing.