Basic question but this happens to me all the time:
working-branch
master
git merg
I used for similar cases:
git branch -f git checkout
or
git checkout -B
.
Both variants move the branch branch-name to your current commit with out reseting-hard your tree.
branch-name