git reset --hard origin/<branch-name>
git fetch
git reset --hard origin/{{branch}}
# replace {{branch}} with name
git branch branch_name --set-upstream-to your_new_remote/branch_name
Delete your local branch: git branch -d local_branch
Fetch the latest remote branch: git fetch origin remote_branch
Rebuild the local branch based on the remote one: git checkout -b local_branch origin/remote_branch
git branch branch_name -u your_new_remote/branch_name