Use the ref-log:
git branch fixing-things HEAD@{1} git reset --soft fixing-things You should then have all your previously amended changes in your working copy and can commit them to a new commit.
To see a full list of previous head commits type git reflog.
You might find my other answer helpful if you are looking for a single command to achieve this and are not afraid of low-level plumbing commands.