Correct errors created Git during commit.