title: How do you get the Git repository's name in some Git repository?
body: <p>When you are working in some Git directory, how can you get the Git repository name in some Git repository? Are there any Git commands?</p>
  
  <pre><code># I did check out bar repository and working in somewhere 
  # under bar directory at this moment such as below.
  
  $ git clone git://github.com/foo/bar.git
  $ cd bar/baz/qux/quux/corge/grault # and I am working in here!
  $ git xxx # &lt;- ???
  bar
  </code></pre>