git get url of remote repository code example Example: get git remote url git config --get remote.origin.url