It only hosts static files (HTML, CSS, JS), which are generally perceived as lower risk than dynamic sites, though they can still execute complex scripts.
This is the most important part of this post. Just because it is hosted on GitHub does not mean it is 100% safe. unblocked github io
Before trying any method, remember to respect your local rules. If you’re at work, bypassing security policies could lead to disciplinary action. If you’re at school, some methods might violate your school’s acceptable use policy. It only hosts static files (HTML, CSS, JS),