当您在某个Git目录下工作时,如何获得某个Git存储库中的Git存储库名称?有Git命令吗?
# 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 # <- ???
bar