It’s about time. We are now on Instagram!
1610s, "action of officially consigning to the custody of the state," from commit + -ment. (Anglo-French had commettement.) Meaning "the committing of oneself, pledge, promise" is attested from 1793; hence, "an obligation, an engagement" (1864).