Does git have a built-in command for showing the name of the current remote project? Right now I\'m using this:
git remote -v | head -n1 | awk \'{print $2}\' | s
basename $(git config remote.origin.url |sed "s/\.git$//")
or:
git config remote.origin.url |sed 's#.*\/\(.*\)\.git#\1#'