Tip to get only the remote URL:
git config --get remote.origin.url
In order to get more details about a particular remote, use the
git remote show [remote-name] command
Here use,
git remote show origin
For more information about installation of git and common git commands please go through the following link: