Function: parseGitRemote()
parseGitRemote(
url):string|undefined
Parse a git remote URL (https://..., git@host:owner/repo.git, etc.) and
return the repo segment, stripping any .git suffix. Returns undefined for
empty or unparsable input.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string | undefined