Notably, libgit2[1] is GPLv2 with a full linking exception, while e.g. go-git[2] is Apache2.
[1] https://github.com/libgit2/libgit2
[2] https://github.com/go-git/go-git