git reset --hard origin/<branch-name>
git fetch
git reset --hard origin/{{branch}}
# replace {{branch}} with 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