git command for repository url code example Example 1: git view remote url git remote show origin Example 2: git command to get the repo url git remote show origin