Include from GitHub to Confluence Cloud

Why do I get a message asking me to authenticate to view content from a public repository?

GitHub applies a limit rate to unauthenticated requests made to retrieve content. It is possible that such rate limit may be reached prompting you to authenticate even to access public repositories. Once authenticated the user should be able to see the requested data.