how to get url of remote github code example Example: get git remote url git config --get remote.origin.url