Install libgit2-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libgit2-dev
Description:
low-level Git library (development files)
libgit2 is a portable, pure C implementation of the Git distributed version control system core methods provided as a re-entrant link-able library with a solid API. . This package contains the development files for libgit2.
Homepage: http://libgit2.github.com/
Version: 0.26.0+dfsg.1-1.1build1
Section: universe/libdevel