src/vs/workbench/contrib/scm/browser/activity.ts/SCMStatusController/onDidRemoveRepository
class SCMStatusController:	private onDidRemoveRepository(repository: ISCMRepository): void {
		if (this.focusedRepository !== repository) {
			return;
		}

		this.focusRepository(Iterable.first(this.scmService.repositories));
	}