extensions/git/src/repository.ts/Repository/updateBranchProtectionMatcher
class Repository:	private updateBranchProtectionMatcher(): void {
		const scopedConfig = workspace.getConfiguration('git', Uri.file(this.repository.root));
		const branchProtectionGlobs = scopedConfig.get<string[]>('branchProtection')!.map(bp => bp.trim()).filter(bp => bp !== '');

		if (branchProtectionGlobs.length === 0) {
			this.isBranchProtectedMatcher = undefined;
		} else {
			this.isBranchProtectedMatcher = picomatch(branchProtectionGlobs);
		}
	}