Skip to main content

Git Repositories

The Git data source connects Copilot to your Git repositories, enabling access to your codebase. It allows Copilot to track changes, automate tasks like issue creation, and keep your team updated on code changes.

Git Data Source
Connect your Git repository to Copilot

How to Connect Git

Follow these steps to get a token and connect your Git repository to Copilot:

  1. Go to GitHub Settings and navigate to Developer Settings.

    Navigate to Developer Settings in GitHub.
  2. Under Developer Settings, click on Personal Access Tokens and select Fine-grained Tokens.

    Click on Personal Access Tokens.
  3. Click on Generate New Token

    Choose Fine-grained Tokens under Personal Access Tokens.
  4. Enter a Token Name, and click on Generate Token button.

    Enter a name for your token.
    Click on Generate token
  5. A new token will be generated. Make sure to copy this token immediately, as it will not be visible again.

    Copy the newly generated token.
  6. Paste the generated token into the designated field in Copilot.

    Paste the token into Copilot to authenticate.
  7. Provide the Git Repository Link that you want to add as a data source. Click on Verify and Add.

    Enter your Git repository link and connect it to Copilot.
  8. Click on Add Data Source.

    Click 'Add Data Source' to finalize the setup.
Copilot dark logo

More than just a virtual AI assistant, Copilot adds the flavor of interaction and engagement to your website. Easy to create, easier to customize, and easiest to deploy. Let Copilot enhance user experience on your website based on the information you provide.

Is this page useful?