how to check which url was used to clone a git repo 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