What exactly are you asking? Because I'm not sure this is really a question, you literally just described how GitHub Pages works.