git check upstream repo code example
Example 1: see git origin
git remote -v
Example 2: git check upstream
git remote show origin
Example 3: git show remote url
git config --get remote.origin.url
Example 4: how to check upstream git
$ git branch -vv
main aaf02f0 [main/master: ahead 25] Some other commit
* master add0a03 [jdsumsion/master] Some commit