A general or summary general court-martial shall have power to try any person subject to this Act for any offence punishable therein and to pass any sentence authorised thereby.