Update recording-changes for libgit2

libgit2 has replaced Grit as the sample project for explaining how to
commit. Update the examples accordingly.