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