Have to echo the op's remark here—what's the difference between "serving static GitHub pages locally" and "serving local static pages like github"? I can't see any possible interpretation of the former that doesn't equate to the latter.
What did you assume it did when you read the title?
What did you assume it did when you read the title?