As outlined in the post above, Github repos can be loaded directly from the source with the Hugo modules feature. Not an expert with modules and likewise with Github, I wonder how one can determine the branch loaded? E. g. the Bootstrap module above loads from github.com/twbs/bootstrap which is currently on branch “main”. How do I know I’m getting the current release and not loading code in early alpha stage?
Hugo Modules is backed by Go Modules, so most of that reading material applies, but the general rule is that if you don’t ask for a specific branch/version, you get the latest tagged version (semver). If you want a specific commit/branch, I think the easiest is to edit your go.mod.