git view remote repository url code example Example 1: see git origin git remote -v Example 2: get git remote url git config --get remote.origin.url