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