Hi Jonathan,
Based on your environment variables it looks like you are attempting to use the Ported Tools version of Git delivered by Kyndryl's GSD Platform product PTZ100. While this version of Git works ok it is now functionally stable. The only version of Git receiving ongoing Git maintenance is the version of Git found in GSD Platform product group CDA458 (Rockets z/OS Miniconda). It has Git at 2.26.2-84.
That said, the value you have for PERL5LIB is incorrect is should be /_PRDS/PTZ/git/share/perl/5.24.1
As a guide, here is how I setup by environment variables for Git in Ported Tools (PTZ100), which I no longer use.
[USSENV]
PTZBASE=/_PRDS/PTZ
GITBASE={$PTZBASE}/git
ZGITBASE=/_APPS/zGIT
_BPX_SHAREAS=YES
_BPXK_AUTOCVT=ON
_TAG_REDIR_IN=TXT
_TAG_REDIR_OUT=TXT
_TAG_REDIR_ERR=TXT
_CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
PATH=/bin:{$GITBASE}/bin:{$PTZBASE}/perl/bin:{$PTZBASE}/bash/bin
PERL5LIB={$GITBASE}/share/perl/5.24.1
LIBPATH={$GITBASE}/curl/lib/
GIT_SHELL={$PTZBASE}/bash/bin/bash
GIT_TEMPLATE_DIR={$ZGITBASE}/.zGIT-templates
GIT_EXEC_PATH={$GITBASE}/libexec/git-core
And here is how I setup my environment for Miniconda (CDA458)
[USSENV]
CDABASE=/_PRDS/CDA
ZGITBASE=/_APPS/zGIT
_BPX_SHAREAS=YES
_BPXK_AUTOCVT=ON
_TAG_REDIR_IN=TXT
_TAG_REDIR_OUT=TXT
_TAG_REDIR_ERR=TXT
_CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
PATH={$CDABASE}/bin:/bin
PERL5LIB={$CDABASE}/share/perl5
CURL_CA_BUNDLE={$CDABASE}/etc/ssl/cacert.pem
LIBPATH={$CDABASE}/lib/
GIT_SHELL={$CDABASE}/bin/bash
GIT_TEMPLATE_DIR={$ZGITBASE}/.zGIT-templates
GIT_EXEC_PATH={$CDABASE}/libexec/git-core
Also, if your intention is to manage traditional z/OS datasets such as PS, PDS and PDSE, the I highly recommend you request GSD Platform product group ZGT140 (zGit v1.4.0).
------------------------------
Gary Freestone
Systems Programmer
Kyndryl Inc
Mt Helen VIC AU
------------------------------