how to check ur origin branch from github code example Example: check upstream branch git git status -sb