check git url repo locally code example
Example 1: check git url
# Check existing git url:
git remote -v
Example 2: git command to get the repo url
git remote show origin
# Check existing git url:
git remote -v
git remote show origin