zut.build.get_git_url

zut.build.get_git_url(repo: str | PathLike | None = None) str

Return the HTTP(S) URL of the Git repository.

Read property _Homepage_ from pyproject.toml if this is GitHub, GitLab or Codeberg, otherwise read URL of _origin_ remote.