extensions/git/src/repository.ts/Repository/add
class Repository:	async add(resources: Uri[], opts?: { update?: boolean }): Promise<void> {
		await this.run(Operation.Add, async () => {
			await this.repository.add(resources.map(r => r.fsPath), opts);
			this.closeDiffEditors([], [...resources.map(r => r.fsPath)]);
		});
	}