Include from GitHub 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 of your Confluence page.