So I just added a minor third commit in order to remove the two
first. Is there a better way to do than this workaround? Something
with git rebase --onto (two last?)
If you want to remove the last two commits, you can use "git reset
HEAD^^". This moves your working copy (and the associated master
branch) back in time.