about 6 years ago
Server site
$ cd /opt/git
$ mkdir project.git
$ cd project.git
$ git --bare init
Project site
$ cd myproject
$ git init
$ git add .
$ git commit -m 'initial commit'
$ git remote add origin [username]@[hostname]:[Dir]
$ git push origin master
Git clone
$ git clone [username]@[hostname]:[Dir]
--Testing
$ cd project
$ echo "Testing add README" > README;
$ git commit -am 'Add the README file'
$ git push origin master