extensions/git/src/api/extension.ts/GitExtensionImpl/getAPI
class GitExtensionImpl:	getAPI(version: number): API {
		if (!this._model) {
			throw new Error('Git model not found');
		}

		if (version !== 1) {
			throw new Error(`No API version ${version} found.`);
		}

		return new ApiImpl(this._model);
	}