undo commit that happened on the wrong branch