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

# SetGitRepository

> Sets how the API key's workspace connects to its repository.



**Kind**: `object`

## Fields

**`ok`**: `Boolean!`

---

**`connection`**: `GQLGitConnection!`



## Related topics

- [Connect through the GitHub App](https://docs.paradime.io/products/settings/git-repositories/connect-with-github-app.md)
- [Workspace Management API](https://docs.paradime.io/developers/graphql-api/api-reference/workspace-management-api.md)
- [Clone your repository through the GitHub App, not only an SSH deploy key](https://docs.paradime.io/changelog/2026-11-04/github-app-connection.md)
- [Git Repositories](https://docs.paradime.io/products/settings/git-repositories/index.md)
- [Connect a GitLab repository](https://docs.paradime.io/integrations/gitlab/connect-a-repository.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.