If the magistrate order the defendant to be committed as provided in the three preceding sections, he must make out a commitment, signed by him, with his name of office, and deliver it, with the defendant, to the officer, to whom he is committed, or if that officer be not present, to a peace officer, who must immediately deliver the defendant into the proper custody, together with the commitment.
Okla. Stat. tit. 22, § 268