Include from GitLab to Confluence Cloud

Is it possible to export Git assets to PDF?

Yes, you can export Git assets (including files and other content) as part of a PDF export of your Confluence page.