Thanks to visit codestin.com Credit goes to libgit2.org
Get the total number of insertions in a diff
A git_diff_stats generated by one of the above functions.
git_diff_stats
total number of insertions in the diff