title: How to get github-like behaviour for ssh access on my git server
body: <p>Suppose we have two separate github users: Foo and Bar. They own Quux and Waldo repositories respectively. So Foo can push to Foo/Quux and cannot push to Bar/Waldo. Opposite is right for Bar.
  Then Foo cloned his Quux repository:</p>
  
  <pre><code>$ git clone ...
  ...
  $ git remote -v
  origin  git@github.com:Foo/Quux.git (fetch)
  origin  git@github.com:Foo/Quux.git (push)
  </code></pre>
  
  <p>Seems while Foo has write access to Foo/Quux repository via <code>git</code> user he has not write access to Bar/Waldo repository via same user. Is there any way I can reach the same behaviour on my git server? Am I supposed to write custom <code>sshd</code> daemon for this purpose?</p>