check upstream branch git

Shell
git status -sb
Source

Also in Shell: