Git AI

GitHub Copilot

Track GitHub Copilot generated AI-code all the way to production.

Supported since: 2025-10-05

GitHub Copilot logo
Install Git AI
No special setup required. One command, no per-repo config.
curl -sSL https://usegitai.com/install.sh | bash
Prompt GitHub Copilot & Commit
No workflow changes. AI attribution is added automatically on commit.
AI Blame & Ask
See who wrote every line — human or AI. Use git-ai ask to query the original prompts and context behind any AI-generated code.

Capabilities

GitHub Copilot support is serviced via a VSCode Extension. We'd like more native integrations (let us know if you can help! Looking at your GitHub employees.)

✓ VSCode

EditorSupported
Agent Mode
Tab Completion
Prompt Saving

✗ IntelliJ

Git AI works with Copilot in IntelliJ. The Intellij extension should be installed when you run git ai install-hooks, but if for some reason it's not showing up, we suggest restarting IntelliJ or installing manually from the marketplace.

How this integration works

Git AI automatically install the Git AI extension when it is installed. This extension listens for events related to Copilot insertions and calls git ai checkpoint

Troubleshooting

Ensure the extension is installed

Go to the Extensions tab and search for git-ai. If it's not there install it from the Marketplace:

Official: https://marketplace.visualstudio.com/items?itemName=git-ai.git-ai-vscode

VFX (for VSCode Forks like Cursor): https://open-vsx.org/extension/git-ai/git-ai-vscode

Not seeing the AI edits you expect?

Go to the Extension Settings and enable Enable Checkpoint Logging

alt

Or in your settings.json: "gitai.enableCheckpointLogging": true

You should see a toast notification when the AI makes edits "AI Checkpoint Created". If you don't see those toasts appearing in certain scenarios, please open an issue on the GitHub repository and we'll investigate.

Not seeing any AI attributions when you run git commit? Here are some common issues to check for:

Verify that the git-ai binary is properly installed and on your path

# macOS/Linuxwhich git# Windows (PowerShell or CMD)where git

Expected Output: ~/.git-ai/bin/git (or C:\Users\...\.git-ai\bin\git on Windows)

If it's not showing up, first try restarting all your shells.

If it's still not working, re-run the installation script and verify you're not doing anything unusual with your PATH in your shell config.

If the problem persists, open an issue on the GitHub repository.

Verify that your Coding Agent is properly calling Git AI after it generates code

git ai status
you  ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ai   4%                                   96%   100% AI code accepted | waited 33s for ai29 secs ago     +103      0  Cursor claude-4.5-opus-high-thinking46 secs ago       +2     -1  Cursor claude-4.5-opus-high-thinking57 secs ago      +12     -2  Cursor claude-4.5-opus-high-thinking1 mins ago        +1     -2  Aidan Cunniffe2 mins ago       +53      0  Cursor claude-4.5-opus-high-thinking2 mins ago         0     -3  Cursor claude-4.5-opus-high-thinking2 mins ago        +4     -6  Cursor claude-4.5-opus-high-thinking3 mins ago        +2     -1  Cursor claude-4.5-opus-high-thinking5 mins ago        +6    -16  Claude claude-opus-4-5-202511015 mins ago         0     -2  Aidan Cunniffe

You should see several AI checkpoints linked to the current HEAD sha. If there are not any, the hooks for your agent are not installed properly.

Re-run:

git ai install-hooks

Generate more code and run git ai status again. If you're still not getting AI attributions, restart all your shells, every Agent Session, and your IDE.

If you're still not getting any AI attributions, open an issue on the GitHub repository.