git config --get remote.origin.url
# Check existing git url:
git remote -v
$ git remote -v
origin https://github.com/schacon/ticgit (fetch)
origin https://github.com/schacon/ticgit (push)
without network
git config --get remote.origin.url
with network (detailed)
git remote show origin
git remote -v
// give fetch and pull url
git remote set-url
// to set url