title: Is there a git command that returns the current project name?
body: <p>Does git have a built-in command for showing the name of the current remote project? Right now I'm using this:</p>
  
  <pre><code>git remote -v | head -n1 | awk '{print $2}' | sed 's/.*\///' | sed 's/\.git//'
  </code></pre>
  
  <p>...but it seems like there would be a built-in equivalent.</p>