← All updates Databricks Update One-Pager Navy version
databricks Platform · Updated Jul 24, 2026

Git CLI Commands in Git Folders

Now in Public Preview for enhanced Git operations within Databricks.

What it does

Git CLI commands are now accessible within Git folders created in Databricks, allowing users to execute standard Git operations such as `git stash`, interactive rebase, and manage Git submodules directly from a Databricks terminal. This feature requires serverless compute and is controlled by workspace admins through the Previews page. It supports operations on repositories that exceed standard size limits, enhancing flexibility for developers.

Why it matters

This update significantly improves developer productivity by enabling seamless integration of Git operations within the Databricks environment, reducing context switching and streamlining workflows. Teams can leverage advanced Git features without leaving the platform, which enhances collaboration and version control practices, ultimately leading to faster development cycles and better code quality.

Key capabilities
Standard Git Commands
Run commands like `git stash`, `git pull`, and `git rebase` directly from the Databricks terminal.
Pre-commit Hooks
Integrate linting and code scanning through pre-commit hooks for better code quality.
Support for Large Repositories
Work with repositories that exceed the standard size limits of 2 GB memory and 4 GB disk.
Git Submodules and LFS
Manage Git submodules and utilize Large File Storage (LFS) within Databricks.
Prerequisites
Workspace must have Git credentials configured.
Serverless compute must be enabled for Git CLI access.
Recommended use cases
Developers needing to manage large repositories directly within Databricks.Teams requiring integration of Git operations with Databricks workflows.Users wanting to utilize advanced Git features without leaving the Databricks environment.
Limitations · remember
!Remote URL allowlists are ignored for Git folders with CLI support.
!The Repos API is not supported for Git folders with CLI access.
!You cannot enable Git CLI access for existing Git folders.
Architecture
Databricks Workspace → Git Folder Creation → Web Terminal Access → Git CLI Operations
Get started
1
Create Git Folder
Use the Databricks UI to create a Git folder and enable Git CLI support.
2
Clone Repository
Clone a remote repository into your workspace using the Git folder.
3
Run Git Commands
Access the web terminal to execute standard Git commands.
4
Manage Branches
Create, switch, and merge branches using the Git dialog.
5
Resolve Conflicts
Use the Git folders UI to manage and resolve merge conflicts.
Key takeaway
The introduction of Git CLI commands in Databricks Git folders enhances developer workflows by integrating powerful Git functionalities directly into the platform.
2026-07-24-git-cli-commands-in-git-folders-are-now-in-public-preview Generated by the Databricks Updates Agent · browse all updates