This Magisk module contains git for arm64 CPUs

ASUS_I006D:/ $ git --version
git version 2.50.1
ASUS_I006D:/ $ 


The config files used by git from this Magisk Module are:

/data/local/tmp/sysroot/etc/gitconfig
/data/local/tmp/sysroot/etc/gitattributes


The git binary file is installed in the directory /system/usr/bin and there is a symbolic link for git in /system/bin.


The certificate file to be used by git to access repositories via https is defined in the file /data/local/tmp/sysroot/etc/gitconfig. If this configuration file does not exist, the customize.sh script creates it with the following content:

[http]
        sslCAInfo = /data/local/tmp/sysroot/etc/security/ca-certificates.crt


The customize.sh script also creates the certificate file 

/system/usr/share/security/ca-certificates.crt 

with all certificates found in 

/system/etc/security/cacerts 

if it does not already exist.


If git still complains about an invalid certificate, use the wrapper script

/system/bin/git_no_ssl_verify
 
instead.


History

14.08.2025 2.50.1-v1.0.0
  initial release

19.10.2025 2.50.1-v1.0.1
  corrected the shebang in some of the scripts in /system/usr/libexec/git-core 


