Create a new repo
Create a new repository
Generate a local git repo in the project working directory:
git init .
SSH to remote server create a bare repo using the project name:
ssh tim@fileserv
git init --bare /files/git/xxxxxxx
exit
Add the files to be tracked and commit:
git add blah.c
git commit -a -m "Initial commit."
Add the remote repo and push:
git remote add origin tim@fileserv:/files/git/xxxxxxx
git push --set-upstream origin master