> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up the git integration

> Connect a git repository to an Omni model

<Note>
  **Looking to use GitHub repositories as AI context?** See the [GitHub AI integration](/integrations/ai/github) guide.
</Note>

Omni's git integration allows you to version control your model files by connecting an Omni model to a git repository. Select your git provider below for setup instructions:

<CardGroup cols={2}>
  <Card title="Azure DevOps" horizontal icon="microsoft" href="/integrations/git/setup/azure-devops" />

  <Card title="Bitbucket Cloud" horizontal icon="bitbucket" href="/integrations/git/setup/bitbucket-cloud" />

  <Card title="Bitbucket Data Center" horizontal icon="bitbucket" href="/integrations/git/setup/bitbucket-data-center" />

  <Card title="GitHub" icon="github" horizontal href="/integrations/git/setup/github" />

  <Card title="GitLab" icon="gitlab" horizontal href="/integrations/git/setup/gitlab" />
</CardGroup>

<Note>
  Multiple Omni models can share the same git repository. If you're connecting a model to a repository that's already connected to another model, you only need to complete the Omni-side setup—the repository's deploy key and webhooks are already configured.
</Note>

## Requirements

To set up the git integration, you'll need:

* [**Omni Connection Admin permissions**](/administration/users/permissions) for the model you want to connect to git
* **An existing git repository** in GitHub, GitLab, Bitbucket, or Azure DevOps
* **Authentication credentials for your git provider:**

  * **SSH authentication** (all providers): Requires permissions to add webhooks and deploy/SSH keys to repositories
  * **HTTPS authentication** (GitHub and GitLab): Requires a personal access token or project access token with appropriate permissions

  The authentication method you use will depend on your git provider. Refer to the documentation for your git provider for information about their user permissions and available authentication methods.

## What's next?

After the setup is complete, you can configure the integration's behavior by changing its settings. Refer to the [git integration settings reference](/integrations/git/settings) for more information.
