commit vs invest

commit

verb
  • To give in trust; to put into charge or keeping; to entrust; to consign; used with to or formerly unto. 

  • To make a set of changes permanent. 

  • To do (something bad); to perpetrate, as a crime, sin, or fault. 

  • To pledge or bind; to compromise, expose, or endanger by some decisive act or preliminary step. (Traditionally used only reflexively but now also without oneself etc.) 

  • To integrate new revisions into the public or master version of a file in a version control system. 

  • To forcibly evaluate and treat in a medical facility, particularly for presumed mental illness. 

  • To imprison: to forcibly place in a jail. 

noun
  • The act of committing (e.g. a database transaction), making it a permanent change; such a change. 

  • The submission of source code or other material to a source control repository. 

invest

verb
  • To formally give (power or authority). 

  • To surround, accompany, or attend. 

  • To spend money, time, or energy on something, especially for some benefit or purpose; used with in. 

  • To commit money or capital in the hope of financial gain. 

  • To ceremonially install someone in some office. 

  • To lay siege to. 

  • To be involved in; to form strong attachments to. 

  • To prepare for lost wax casting by creating an investment mold (a mixture of a silica sand and plaster). 

  • To make investments. 

  • To formally give (someone) some power or authority. 

  • To envelop, wrap, cover. 

noun
  • An unnamed tropical weather pattern "to investigate" for development into a significant (named) system. 

How often have the words commit and invest occurred in a corpus of books? (source: Google Ngram Viewer )