I'm not sure whether I understood the difference between git
and libgit2
correctly because the repository of git
is different from libgit2
, I mean they are not the same.
I want to know is there any difference between these two libraries or not?
git is not a library, it is a command-line tool and the reference implementation for Git. libgit2 is an implementation of the Git system with a focus towards being usable inside complex applications and from many different languages.
The repositories are Git repositories, there is no difference in their format. What there might be are differences that come from tool vs library, like libgit2 not writing out sample hook files, as those are something only a particular tool would know how to deal with. Any other differences would be considered a bug.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With