src/vs/workbench/contrib/scm/browser/scmViewService.ts/SCMViewService/insertRepository
class SCMViewService:	private insertRepository(repositories: ISCMRepository[], repository: ISCMRepository): void {
		const index = binarySearch(repositories, repository, this._compareRepositories);
		repositories.splice(index < 0 ? ~index : index, 0, repository);
	}