how to check git upstream remote branch code example Example: check upstream branch git git status -sb