Adding libgit2 examples from official repo