title: Central git repo on server, push and pull from it
body: <p>This could very well be a duplicate question, but I just can't find a satisfying answer to my question.
  The situation is this, I've got a webserver which I can talk to over ssh and it has git installed.
  There is a folder on it that represends a website. Previously, everyone would just work on the server at the same time (via FTP) or download a copy to there machine, work on it there, and FTP it back.</p>
  
  <p>What I want now, is make that folder a git repo, which people can clone to there local machine. Work on it, and push the changes back to the server.</p>
  
  <p>How do I do this? I've tried just creating a repo on the server. I can clone this repo, but can't push anything to it. I've read some things about a bare git repo, but it seems to me this doesn't work for my problem, because I want the repo on the server to be the actual website folder and files.</p>
  
  <p>I really hope someone can help, or point me in the right direction.</p>
  
  <p>Thanks in advance!</p>