Redefinir ramo para outra filial

git reset --hard master # master can be any other branch that is already contained in current branch
Destroyer of seg faults