a) "be committed to doing sth" refers to energy, effort and time binding one to an ongoing activity, one that is already in progress;
b) "be committed to do sth" or "have a commitment to do sth" refers to a binding promise (can a promise be anythng but binding?!) to do sth, to achieve sth not yet begun, only just outlined or proposed, to seek an outcome.