extensions/git/src/commands.ts/CommandCenter/removeRemote
class CommandCenter:	async removeRemote(repository: Repository): Promise<void> {
		const remotes = repository.remotes;

		if (remotes.length === 0) {
			window.showErrorMessage(l10n.t('Your repository has no remotes.'));
			return;
		}

		const picks = remotes.map(r => r.name);
		const placeHolder = l10n.t('Pick a remote to remove');

		const remoteName = await window.showQuickPick(picks, { placeHolder });

		if (!remoteName) {
			return;
		}

		await repository.removeRemote(remoteName);
	}