find out git origin remote url code example Example: get git remote url git config --get remote.origin.url