Older Ubuntus/Debians use libgit2 that does not support the new defines. Newer libgit2 provides a name define translation
Adds support for project-based git integration, branch support, commit, revert and updates Fixes https://gitlab.com/kicad/code/kicad/issues/10441