Thanks to visit codestin.com Credit goes to libgit2.org
Get the short "summary" of the git commit message.
The returned message is the summary of the commit, comprising the first paragraph of the message with whitespace trimmed and squashed.
a previously loaded commit.
the summary of a commit or NULL on error