I think there must be an easier way to do this. Right now I find myself following these steps:

**On the remote:**

```
mkdir my_repo
cd my_repo
git init --bare

```

**Then locally:**

```
mv my_repo old_my_repo
git clone ssh://myserver/my_repo
mv old_my_repo/* my_repo
rmdir old_my_repo
cd my_repo
git add .
git commit -m 'foo'
git push origin master

```

Is there some shortcut?