Hi @Sb2512 ,
There are two possible options:-
1.) Adding a Java keystore to the git repo, and then reading it in your Java code.
2.) Manually add certificates through the AEM TrustStore web interface, and refer it in your Code.
Hope that helps!
Regards,
Nitesh