I guess we use git now

To create a local git repository of the current directory: git init

Add files with: git add *

Commit with: git commit

Now create a directory on Dreamhost: mkdir <reponame>.git

Create the remote repository: git init –bare

Now connect the two. From the local repository: git remote add origin ssh://path/to/<reponame>.git

Setup the link: git push -u origin master