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
For remote folder name it'd be better
git remote -v | head -n1 | awk '{print $2}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//'
because it could be git@something.com:repo_name - without any slash.