title: What is the best way to secure a shared git repo for a small distributed team?
body: <p>We have a Scala project and we decided to use git. The problem is we are a very small distributed team and we want nobody outside of the team to have even the read only access to our git server (which has a valid IP and is world-accessible in the IP level). I have heard the git-daemon has no authentication mechanism by itself and you should somehow integrate it with ssh or something. What is the best (and easiest) way to make the git server respond only to authorized users ? Or perhaps git-daemon is not for this task ?
  I may add that I am looking for a simple and straightforward approach. I don't want to compete with github ;-)</p>