Skip to content
Gemini CLI

git for Gemini CLI

io.github.dave-london/git

Structured git operations (status, log, diff, branch, show) as typed JSON.

client:Gemini CLI transport:stdio runtime:npm

Install git in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": [
        "-y",
        "@paretools/git"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

git in other clients