check the origin of git repo code example Example 1: see git origin git remote -v Example 2: git show remote url git config --get remote.origin.url