GitHub repository into a custom GPT's knowledge

Is it currently possible to directly integrate the contents of a GitHub repository into the knowledge base of my custom GPT?
If not, what’s the recommended way to include my repository’s content into the GPT knowledge base?

Depends. If it is about coding, github copilot.
If it is about storing texts on a git repository to direct link to openai’s GPT, I don’t think there is another way than to create a program that will sync the repo and train the assistant through the API.

Yes, my goal is to develop a professional website using a custom GPT, and I initially thought linking it directly to a GitHub repository would be beneficial. Based on your recommendation, it seems more practical to explore alternatives like GitHub Copilot or similar tools. I’ll investigate those solutions further.