A simple C++ example which demonstrates basic usage of libgit2. Detailed explanation is available in the blog post: How to traverse a git repository using libgit2 and C++