Making git server
$ git clone --bare my_project my_project.git $ scp -r my_project.git user@git.example.com:/directory/to/git $ git clone user@git.example.com:/directory/to/git/my_project.git
Everything should be made as simple as possible, but not simpler – Einstein
$ git clone --bare my_project my_project.git $ scp -r my_project.git user@git.example.com:/directory/to/git $ git clone user@git.example.com:/directory/to/git/my_project.git