---
title: Git
description: >-
  A free, open-source version control system for managing projects of all sizes
  with speed and efficiency.
breadcrumbs: Docs > Integrations > Git
---

# Git

{% image
   source="https://datadog-docs.imgix.net/images/integrations/git/git_event.c2f49103dbc68bfe2893e993622ede20.png?auto=format"
   alt="Git event" /%}

## Overview{% #overview %}

Capture Git commits directly from your Git server to:

- Keep track of code changes in real time.
- Add code change markers on all your dashboards.
- Discuss code changes with your team.

## Setup{% #setup %}

### Installation{% #installation %}

1. Create a new application key for Git: [Generate Application Key](https://app.datadoghq.com/organization-settings/api-keys)

1. Download the Datadog Git webhook:

   ```shell
   sudo easy_install dogapi
   curl -L https://raw.github.com/DataDog/dogapi/master/examples/git-post-receive-hook > post-receive
   ```

1. Set up Git with your [Datadog keys](https://app.datadoghq.com/organization-settings/api-keys):

   ```shell
   git config datadog.api <YOUR_DATADOG_API_KEY>
   git config datadog.application <YOUR_DATADOG_APP_KEY>
   ```

1. Activate the hook in your Git repository with the `<GIT_REPOSITORY_NAME>`:

   ```shell
   install post-receive <GIT_REPOSITORY_NAME>/.git/hooks/post-receive
   ```

1. [Install the Datadog-Git Integration](https://app.datadoghq.com/integrations/git)

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
