git command to know the remote repository code example Example 1: see git origin git remote -v Example 2: see name of origin + git git remote -v