title: Why won't git-daemon serve my repository?
body: <p>I set up <code>.git</code> in a directory on my local machine. I then run:</p>
  
  <pre>mkdir a
  cd a
  git init
  git daemon</pre>
  
  <p>When I attempt to clone the repository in <code>a</code>, I get the following error:</p>
  
  <pre>mkdir b
  cd b
  git clone git://127.0.0.1
  Initialized empty Git repository in /b/127.0.0.1/.git/
  fatal: The remote end hung up unexpectedly</pre>
  
  <p>How can I clone my repository over the git protocol?</p>