Hi, if you want to maintain code in the Github repository, you can create packages from Adobe campaign and export it as '.xml' files. Then you can maintain the code versioning in Github. Adobe campaign objects like schema, workflow, campaigns, delivery templates, deliveries, enumeration, js, jssp etc., all of them can be exported as xml packages.
Work with packages in ACC
Work with CICD scripts