If I understood correctly you are want to drive deployments via your git repo, would that be correct?
If so there are a few really awesome projects that follow the GitOps pattens which should be able to help you out. Both Flux and ArgoCD monitoring changes within a given Git repo and apply the changes to the cluster on your behalf.
I hope that’s what you’re looking let me know if I misread that.
Cheers