print remote url git code example Example 1: check git url # Check existing git url: git remote -v Example 2: github see the origin git remote -v