Skip to content
Cline

Git for Cline

io.github.abhishekkumar2021/git

Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit. Pure-JS.

client:Cline transport:stdio runtime:npm

Install Git in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/git"
      ],
      "env": {
        "GIT_ROOTS": "<GIT_ROOTS>",
        "GIT_WRITABLE": "<GIT_WRITABLE>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

Git in other clients