src-d/go-git

go-git - A highly extensible Git implementation in pure Go.