zut.build.get_git_ref_base_url

zut.build.get_git_ref_base_url(repo: str | PathLike | None = None, ref: str | None = None, *, gitea: bool | None = None) str

Return the base remote URL of the source files of the currently checked-out Git repository, based on the tag or branch.