Enable or disable the Databricks Git folder feature

The Databricks Git folders feature is enabled by default for new workspaces, but can be disabled by admins using the Databricks REST API /api/2.0/workspace-conf or a Databricks SDK. Admins can also use the REST API or SDK to turn on Databricks Git folders for older workspaces where the feature has been disabled in the past. This topic provides an example notebook you can use to perform this operation.

Run a notebook to enable (or disable) the Databricks Git folder feature

Import this notebook into the Databricks UI and run it to enable the Databricks Git folder feature. To disable the Databricks Git folder feature, call /api/2.0/workspace-conf and set enableProjectTypeInWorkspace to false.

Enable a Databricks Git folder

Open notebook in new tab