how to know git remote url I am in code example
Example 1: get git remote url
git config --get remote.origin.url
Example 2: check git url
# Check existing git url:
git remote -v
git config --get remote.origin.url
# Check existing git url:
git remote -v