set up to track remote branch x' from 'origin' code example Example: git check upstream git remote show origin