(a) Any person arrested in this state charged with having committed any crime in another state or alleged to have escaped from confinement, or broken the terms of his bail, probation, or parole, may waive the issuance and service of the warrant provided for in Code Sections 17-13-27 and 17-13-28 and all other procedure incidental to extradition proceedings, by executing or subscribing in the presence of a judge of any court of record within this state a writing which states that he consents to return to the demanding state; provided, however, that before the waiver shall be executed or subscribed by the person it shall be the duty of the judge to inform the person of his rights to the issuance or service of a warrant of extradition and to obtain a writ of habeas corpus as provided in Code Section 17-13-30.(b) If and when the consent has been duly executed, it shall forthwith be forwarded to the office of the Governor of this state and filed therein. The judge shall direct the officer having the person in custody to deliver forthwith the person to the duly accredited agent or agents of the demanding state and shall deliver or cause to be delivered to the agent or agents a copy of the consent. Nothing in this Code section shall be deemed to limit the rights of the accused person to return voluntarily and without formality to the demanding state; nor shall this waiver procedure be deemed to be an exclusive procedure or to limit the powers, rights, or duties of the officers of the demanding state or of this state.