git command get repo url code example
Example 1: git command to get the repo url
git remote show origin
Example 2: show remote git
# when you are not connected to the network, you can use this
git config --get remote.origin.url
Example 3: git get repository url
git config --get remote.origin.url