Git Bash Zmiana gałęzi w górę
git branch --set-upstream-to=origin/branch
Tame Toad
git branch --set-upstream-to=origin/branch
git reset --hard origin/master
git fetch
git reset --hard origin/{{branch}}
# replace {{branch}} with name
git branch branch_name --set-upstream-to your_new_remote/branch_name