Perl bindings to the Git linkable library (libgit2)
Perl C++ XS C


Build Status: Travis Build Status: AppVeyor Coverage Status


Git::Raw - Perl bindings to the Git linkable library (libgit2)


libgit2 is a pure C implementation of the Git core methods provided as a re-entrant linkable library designed to be fast and portable with a solid API. This module provides Perl bindings to the libgit2 API.

WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).


features( )

List of (optional) compiled in features. Git::Raw may be built with support for threads, HTTPS and SSH.

message_prettify( $msg, [$strip_comments, $comment_char] )

Clean up $msg from excess whitespace and ensure that the last line ends with a newline. The default is to strip all comments, starting with a #, unless otherwise specified.


Alessandro Ghedini <>

Jacques Germishuys <>


Copyright 2012 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See for more information.