how to check remote branch name in git code example
Example 1: git get remote branches
git branch -r
Example 2: how to check upstream git
$ git branch -vv
main aaf02f0 [main/master: ahead 25] Some other commit
* master add0a03 [jdsumsion/master] Some commit