Thanks to visit codestin.com Credit goes to libgit2.org
The diff patch is used to store all the text diffs for a delta.
You can easily loop over the content of patches and get information about them.