You can obtain the url for an existing remote by using the command
git remote get-url <name>
By default, this will be
git remote get-url origin