title: how can git post-receive hook get name of repo it is running on?
body: <p>I have a git post receive hook that will trigger a build on my build system.
  I need to create a string of the form "$repo-name + $branch" in the hook script.</p>
  
  <p>I can parse the branch, but how can I get the repository name from git?</p>
  
  <p>Thanks!</p>