The hook enables a pre and post commit plugin to report on the status of the commit and expose this information to plugins.