I found this example of another repo that is using the same trick:
https://github.com/kotokaze/kotokaze.github.io ~ % curl -i 'https://kotokaze.github.io/'
HTTP/2 301
server: GitHub.com
content-type: text/html
permissions-policy: interest-cohort=()
location: http://github.kotokaze.net/