git see what remote branch is tracking code example Example: check upstream branch git git status -sb