According to https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages this should help