Setting up Git - command won't work


I have this problem that when I type in the terminal:
ssh -T,
I get this message:
ssh: connect to host port 22: Connection timed out.
Anyone know what could be the case? I tried searching on google but nothing seemed to help


Usually this is when your firewall or something is blocking the connection.