To verify a domain on Github, you need to add a DNS TXT record as in the image:

Github verify domain

But it is necessary to add not as indicated on the site, but like this:

Host: _github-challenge-managed-code-hub
TXT Value: 0000000000

that is, without the name of your domain.