Meaning of “commit” - Learner’s Dictionary

commit

verb [ T ] uk us /kəˈmɪt/ (present participle committing, past tense and past participle committed)
CRIME

B2 to do something that is considered wrong, or that is illegal:

He was sent to prison for a crime that he didn't commit.
to commit suicide/adultery
DECISION

to make a firm decision that you will do something:

He committed himself to helping others.
not commit yourself

to refuse to express an opinion about a particular subject

MONEY/TIME

If you commit money, time, energy, etc to something, you use it to try to achieve something:

The government has committed thousands of pounds to the research.

(Definition of “commit” from the Cambridge Learner’s Dictionary © Cambridge University Press)