The commissioned officers of the militia shall be commissioned by the governor, and no commissioned officer shall be removed from office except by sentence of court-martial, pursuant to law.