how to get current git repo code example
Example 1: check git url
# Check existing git url:
git remote -v
Example 2: get git remote url
git config --get remote.origin.url
# Check existing git url:
git remote -v
git config --get remote.origin.url