There is a new maintenance release of libgit2, v0.21.1, see https://github.com/libgit2/libgit2/releases Among other corrections it fixes a critical bug which produces data corruption, see https://github.com/libgit2/libgit2/issues/2489
Added to the tree.