I've set up git on my Ubuntu 12.04 LTS but whenever I try to push files to my remote repository (`git push -u origin master`), I get the following error-

```
ssh: connect to host github.com port 22: Connection timed out
fatal: The remote end hung up unexpectedly

```

What does this mean? and How can I fix it?

---

I installed Git using the following-

```
sudo apt-get install git

```

My local repository is here-

```
/media/48B9-FD83/foobar

```

it is not in the home directory, it is on a mounted drive (is that a problem?).

I initialized git in that directory and followed the steps given [here - GitHub's official tutorial](http://try.github.io/levels/1/challenges/10).

And when pushing the files, I get those `ssh` and `fatal` errors, mentioned above.

How can I fix this?