# Custom Git

## About the integration

If your Git hosting application isn't supported or if your repository is not internet-accessible, you can still connect it to Sleuth through the 'Custom Git' option.

## Configuring the integration

You can add a [code deployment](/sleuth-dora/modeling-your-deployments/code-deployments.md) for your git repository to a Sleuth [project](/sleuth-dora/modeling-your-deployments/projects.md). Once configured and you start [registering deploys](/sleuth-dora/modeling-your-deployments/code-deployments/how-to-register-a-deploy.md), Sleuth will be tracking deploys for your code changes.

To configure the custom Git integration:

1. Start the process for creating a new code deployment (see [instructions](/sleuth-dora/settings/project/code-deployments.md)).
2. When asked to select the repository provider, pick **Custom (any git repository)** and click **Continue**.
3. Enter the code deployment name and click **Save and continue** to create the code deployment source.
4. Finally, click on the link in the "Waiting for new deploy" instructions to see how to use the [Sleuth CLI client](https://github.com/sleuth-io/sleuth-client).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.sleuth.io/sleuth-dora/integrations-1/code-deployment/custom.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
