Skip to main content
5-minute setup — free 14-day trial, no credit card required.
By the end of this guide you’ll have Gitar installed on a repository and see it automatically review a pull request.

Prerequisites

  • A GitHub or GitLab account with admin access to at least one organization or group
  • An open pull request or merge request, or a repository where you can create one

Step 1: Sign in to Gitar

Go to app.gitar.ai and sign in with your GitHub or GitLab account. You’ll see the Connect Your Code screen.

Step 2: Connect your repository

Click Install to add the Gitar GitHub App to your organization. You can grant access to all repositories or select specific ones.
You can change repository access at any time from your GitHub organization settings under Installed GitHub Apps.

Step 3: See Gitar in action

Once connected, Gitar runs an initial scan of your repositories. You have two ways to see it work:
  1. Open a new PR/MR — Create a pull request or merge request with some changes. Gitar starts working automatically on any PR activity in connected repositories.
  2. Try Gitar on existing PRs — Look for the “Try Gitar on Open PRs” card in the dashboard to trigger Gitar on your existing pull requests.

Step 4: Review Gitar’s feedback

Within a few minutes, Gitar posts a dashboard comment on your PR/MR with an overview of its analysis. Here’s what happens next:
  • CI fails — Gitar analyzes the failure, identifies the root cause, and pushes a fix
  • Code review — Gitar leaves inline comments on potential issues (security, bugs, code quality)
  • Comment instructions — Reply to Gitar’s comment with natural language to ask for changes
When all checks pass, the PR is ready to merge:
Gitar never force-pushes to your branch. All fixes are added as new commits so your history stays intact.

Next steps

Dashboard & Commands

Learn about dashboard comments, display modes, and auto-apply

Repository Rules

Create automated workflows using natural language

CI Analysis & Fixes

Deep dive into how Gitar analyzes and fixes CI failures

Connect Your Code

Connect GitHub, GitLab, and custom CI providers