list remote origin code example Example 1: see git origin git remote -v Example 2: git remote git remote add origin [your-repository]