diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh
index b450c57beea..d88fb12e253 100644
--- a/common/xbps-src/shutils/update_check.sh
+++ b/common/xbps-src/shutils/update_check.sh
@@ -57,7 +57,8 @@ update_check() {
               *rubygems.org*|\
               *crates.io*|\
               *codeberg.org*|\
-              *hg.sr.ht*)
+              *hg.sr.ht*|\
+              *git.sr.ht*)
                 continue
                 ;;
             *)
@@ -145,6 +146,10 @@ update_check() {
                 pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)"
                 url="https://hg.sr.ht/$pkgurlname/tags"
                 rx='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
+            *git.sr.ht*)
+                pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)"
+                url="https://git.sr.ht/$pkgurlname/refs"
+                rx='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
             esac
         fi