If I were you, for your purpose, I will change to Vscode with Code for IBM i plugin.
https://github.com/codefori/vscode-ibmi
It propose a better way for using Git: https://codefori.github.io/docs/developing/local/git/.
For the build, you can use Source Orbit and BOB that will automate it.
I can not explain all the stuff about this development Framework, it will be very long so I enjoin you to read these documentations:
https://codefori.github.io/docs/
https://ibm.github.io/sourceorbit/#/
https://ibm.github.io/ibmi-bob/#/
To install all of these usefil plugins, you can install the IBM i Development Pack.
It contains :
Code for IBM i
IBMi Languages (highlighting)
RPGLE
COBOL
CL
Code for IBM i Walkthroughs
Db2 for IBM i
IBM i Renderer
IBM i Project Explorer
Source Orbit
Regards,
Olivier.