The documentation doesn’t explain anything. Why would such limitation exist? And how to use a custom folder?
Configuring a publishing source for your GitHub Pages site – GitHub Docs
Related: Set subdirectory as website root on Github Pages
Dummy text: I’m unable to post the question for not having additional details. I have no idea what else I can add here