Update recording-changes for libgit2

Here is my take on updating the git basics chapter to fit with the choice of libgit2 as the sample project.
:fr: