Get the encoding for the message of a commit, as a string representing a standard encoding name.
The encoding may be NULL if the encoding header in the commit is missing; in that case UTF-8 is assumed.
encoding
a previously loaded commit.
NULL, or the encoding