commit vs undertake

commit

verb
  • 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 make a set of changes permanent. 

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

  • 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 give in trust; to put into charge or keeping; to entrust; to consign; used with to or formerly unto. 

  • 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. 

undertake

verb
  • To commit oneself (to an obligation, activity etc.). 

  • To pass a slower moving vehicle on the curbside rather than on the side closest to oncoming traffic. 

  • To take upon oneself; to start, to embark on (a specific task etc.). 

noun
  • The passing of slower traffic on the curbside rather than on the side closest to oncoming traffic. 

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