/usr/lib/x86_64-linux-gnu/libgit2.so is in libgit2-dev 0.26.0+dfsg.1-1.1build1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/x86_64-linux-gnu/libgit2.so.26
/usr/lib/x86_64-linux-gnu/libgit2.so.26