If the Git extension is active but disabled, [`exports.getAPI(1)` will throw an error in `Collaboration.#onLocalOpen`](https://github.com/maxg/constellation/blob/cc5680f5422b5d03135501d284e2ec549430c445/extension/src/collab.ts#L97). Add a check for `exports.enabled`.
If the Git extension is active but disabled,
exports.getAPI(1)will throw an error inCollaboration.#onLocalOpen. Add a check forexports.enabled.