Reading time: 1 min
git init --bare /path/to/my-project.git
git remote add origin server:/path/to/my-project.git