# git (/docs/cli/git) > For the complete Prisma documentation index, see [llms.txt](https://www.prisma.io/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL. Connect a GitHub repository for push-to-deploy. Location: CLI > git Use `git` commands to manage the GitHub repository connection. Connecting enables the OIDC credential exchange for GitHub Actions deploys and the branch lifecycle automation. See [GitHub integration](https://www.prisma.io/docs/compute/github) and [Deploy on push](https://www.prisma.io/docs/compute/deploy-on-push). ## Usage [#usage] #### npm ```bash npx prisma git connect ``` #### pnpm ```bash pnpm prisma git connect ``` #### yarn ```bash yarn prisma git connect ``` #### bun ```bash bunx prisma git connect ``` Run it from a [linked](https://www.prisma.io/docs/cli/project) project directory, or name the project with `--project `. Without a URL, it connects the repository of the directory's `origin` remote. If the Prisma GitHub App does not cover the repository yet, the command opens the browser to install it or give it access to the repository, and waits until that is done. That step needs an interactive terminal: in CI, without a terminal, or with `--no-interactive`, it fails with `CLI.INTERACTION_REQUIRED` and prints the install URL. When the app already covers the repository, the command needs no terminal and runs in scripts. Connecting from the CLI does not add a deploy workflow to the repository. [Add it yourself](https://www.prisma.io/docs/compute/deploy-on-push#4-add-the-deploy-workflow), or connect through the [Console](https://pris.ly/pdp), which opens a pull request with the workflow. ## Commands [#commands] | Command | Description | | ----------------------- | ----------------------------------------------------------------------------------------------- | | `git connect [git-url]` | Connect the linked project to a GitHub repository. Starts the GitHub App install flow if needed | | `git disconnect` | Stop the credential exchange and branch automation. Keeps the project and existing branches | Both commands take `--project ` to name a project other than the one this directory is linked to. ## Related pages - [auth](https://www.prisma.io/docs/cli/auth): Sign in to your Prisma account from the CLI, sign out, and manage workspace sessions. - [branch](https://www.prisma.io/docs/cli/branch): List platform branches for a project. - [bucket](https://www.prisma.io/docs/cli/bucket): Create and manage object-store buckets. - [Configuration](https://www.prisma.io/docs/cli/configuration): Configure Prisma ORM CLI commands with prisma.config.ts and global flags. - [contract emit](https://www.prisma.io/docs/cli/contract-emit): Emit Prisma ORM contract artifacts.