Read an origin URL for the host and path it names, or null when it names
none: a filesystem path, a file:// URL, or a string with no host or path.
The SSH and HTTPS forms of one repository parse the same:
git@github.com:acme/billing.git, ssh://git@github.com:22/acme/billing
and https://github.com/acme/billing/ all give github.com and
['acme', 'billing']. Git's own rule tells the two shapes apart: a URL has
scheme://, and the scp-like form has a colon before any slash.
Read an origin URL for the host and path it names, or null when it names none: a filesystem path, a
file://URL, or a string with no host or path.The SSH and HTTPS forms of one repository parse the same:
git@github.com:acme/billing.git,ssh://git@github.com:22/acme/billingandhttps://github.com/acme/billing/all givegithub.comand['acme', 'billing']. Git's own rule tells the two shapes apart: a URL hasscheme://, and the scp-like form has a colon before any slash.