how to get origin in git bash code example Example 1: check git url # Check existing git url: git remote -v Example 2: see git origin git remote -v