how to see current remote origin git code example Example 1: see git origin git remote -v Example 2: get git remote url git config --get remote.origin.url