check which git repository i am on code example
Example 1: how to check the repository name in git
git config --get remote.origin.url
Example 2: check which repo i am on git
git config -l
git config --get remote.origin.url
git config -l