This module provides a brief introductory tutorial in the "Introduction"
section followed by a lengthy discussion of the library's design and idioms.

Synopsis

Introduction

The gitlib library provides high-level types for working with the
libgit2 C library (http://libgit2.github.com). The intention is to
make libgit2 easier and more type-safe, while using laziness to avoid
unnecessary work.

resolveRef works for both symbolic and specific refs. Further, this
pattern is rather common, so there is a shortcut called
lookupRefCommit. Or, if you have a SHA string, you can
use lookupCommit with parseOid.