extensions/git/src/repository.ts/Repository/createStash
class Repository:	async createStash(message?: string, includeUntracked?: boolean): Promise<void> {
		const indexResources = [...this.indexGroup.resourceStates.map(r => r.resourceUri.fsPath)];
		const workingGroupResources = [
			...this.workingTreeGroup.resourceStates.map(r => r.resourceUri.fsPath),
			...includeUntracked ? this.untrackedGroup.resourceStates.map(r => r.resourceUri.fsPath) : []];

		return await this.run(Operation.Stash, async () => {
			this.repository.createStash(message, includeUntracked);
			this.closeDiffEditors(indexResources, workingGroupResources);
		});
	}