libgit2: universal option

Adds an universal option to libgit2.

Closes #35154.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>