The verb commit has 5 senses (first 5 from tagged texts)
1. (12) perpetrate, commit, pull -- (perform an act, usually with a negative connotation; "perpetrate a crime"; "pull a bank robbery")
2. (12) give, dedicate, consecrate, commit, devote -- (give entirely to a specific person, activity, or cause; "She committed herself to the work of God"; "give one's talents to a good cause"; "consecrate your life to the church")
3. (3) commit, institutionalize, institutionalise, send, charge -- (cause to be admitted; of persons to an institution; "After the second episode, she had to be committed"; "he was committed to prison")
4. (1) entrust, intrust, trust, confide, commit -- (confer a trust upon; "The messenger was entrusted with the general's secret"; "I commit my soul to God")
5. (1) invest, put, commit, place -- (make an investment; "Put money into bonds")