git bash upstream branch change

Shell
git branch --set-upstream-to=origin/branch
git config --edit

Source

Also in Shell: