There's a merged pull request on the void-packages repository xbps-src/shutils/update_check.sh: add support for git.sr.ht https://github.com/void-linux/void-packages/pull/25758 Description: The code for `git.sr.ht` was almost identical to that of `hg.sr.ht`. The main difference, aside from replacing `hg.sr.ht` in `url` with `git.sr.ht`, was the endpoint of `url`. The `hg.sr.ht` url uses `tags` whereas `git.sr.ht` uses `refs`.