git branch origin code example
Example 1: git bash upstream branch change
git branch --set-upstream-to=origin/branch
Example 2: git get remote branches
git branch -r
Example 3: pull down remote branch git
git fetch origin
git checkout --track origin/<branch_name>