git how to know the current origin branch code example Example: check upstream branch git git status -sb