That's an interesting question. What prompted it?
The core issue is that Go 1.18 added the use of git flag --no-show-signature which was added a long time ago (2015?) but some distros (e.g., CentOS 7) officially support only an older version of git. Of course, this all begs the question why, if you're willing to install a new version of Go, you're not willing to install a new version of Git? :-)