How to improve source code checkout speed in Bamboo by using native Git

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Purpose

When no native Git binary has been installed and configured for use by Bamboo, source code checkout performance can be sub-par as Bamboo will revert to a Java based Git implementation which has significant overheads and competes for resources within the Java Virtual Machine.

Solution

  1. Install a native Git binary on both the Bamboo Server and any Remote Agents: Installing Git

  2. Configure the Git Capability on the Bamboo Server and any Remote Agents: Configuring capabilities

    1. E.g. To configure a Git capability on the Bamboo Server: Visit Bamboo Administration >> Server Capabilities and add the Git capability:

      1 2 3 Capability type = Git Executable = Git Path = C:\Program Files (x86)\Git\bin\git.exe

Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.