printing commit message to output