> For the complete documentation index, see [llms.txt](https://help.sleuth.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sleuth.io/sleuth-dora/integrations-1/code-deployment/custom.md).

# 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](https://help.sleuth.io/sleuth-dora/modeling-your-deployments/code-deployments.md) for your git repository to a Sleuth [project](https://help.sleuth.io/sleuth-dora/modeling-your-deployments/projects.md). Once configured and you start [registering deploys](https://help.sleuth.io/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](https://help.sleuth.io/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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
