This is the quick and dirty guide to setting up your own git repo via SSH.

SERVER

    mkdir /path/repo.git
    git init --bare /path/repo.git

CLIENT

    cd /path/to/project
    git init
    git add .
    git commit -m "Initial commit"
    git remote add origin ssh://user@host:/path/repo.git
    git push --set-upstream origin master

TIPS