I did not understand ‘hg’ and asked Claude:
The “hg” in this passage refers to Mercurial, a distributed version control system. `hg` is the command-line tool for Mercurial (just like `git` is the command for Git).
The Go project itself was historically stored in Mercurial repositories before migrating to Git. Some Go modules may still be hosted in Mercurial repos.