extensions/github/src/remoteSourceProvider.ts/parse
function parse(url: string): { owner: string; repo: string } | undefined {
	const match = /^https:\/\/github\.com\/([^/]+)\/([^/]+)\.git/i.exec(url)
		|| /^git@github\.com:([^/]+)\/([^/]+)\.git/i.exec(url);
	return (match && { owner: match[1], repo: match[2] }) ?? undefined;
}