All areas Feed Weekly digests

git

The tracked changes tagged git, newest release first. Every sentence is an item's summary.

158 items from 37 releases, 22 breaking Sources: Claude Code, MCP reference servers, Gemini CLI, Cursor Last change:

Goes with

Changes

MCP reference servers v2.6.0

  1. breaking Breaking

    A root whose .git file names any other Git directory is now refused by mcp-server-git under --repository.

  2. fix

    mcp-server-git no longer runs programs named in a repository's configuration through Git LFS settings, and LFS downloads are turned off via GIT_LFS_SKIP_SMUDGE=1.

  3. fix

    mcp-server-git restricts the --repository root so it cannot be pointed at another repository's Git directory, except its own, linked worktree, or submodule directories confirmed by the main repository.

  4. fix

    mcp-server-git git_remote withholds credentials from remote names and URLs, redacting any URL not at the start of a value as <redacted>.

  5. fix

    mcp-server-git no longer expands environment variables in repo_path or --repository, and error messages no longer disclose expanded values.

+4 more
  1. fix

    mcp-server-git reads objects only from the repository's own store when --repository is set, so alternates files are not read in that mode; alternates still work without --repository.

  2. fix

    mcp-server-git git_merge refuses a merge commit that would overwrite ignored local files, changing nothing.

  3. fix

    mcp-server-git repeats the --repository check after git_checkout, git_merge and merge-abort write the working tree, and stops without running further Git commands if the check fails.

  4. feature

    mcp-server-git git_log documentation now states it is newest-first and its timestamp filters are optional.

    git

Claude Code v2.1.332

  1. fix

    Fixed self-hosted runner sessions failing their first clone under Anthropic-managed git when git config has an includeIf gitdir or onbranch section.

  2. fix

    Self-hosted runner: fixed --configure-git sometimes reporting a hung git --version as a git not on PATH.

  3. fix

    Fixed Esc not stopping a Bash command while it waited for its file diff in large or slow git repositories.

Claude Code v2.1.331

  1. fix

    Fixed /diff leaving out files added with git add -N in a repository with no commits.

  2. performance

    Improved start-up so a session outside a git repository without .claude/settings.local.json no longer waits on git.

  3. feature

    [VSCode] Added Add to Chat to the right-click menu of changed files in the Source Control view.

  4. feature

    [VSCode] Added Resolve Merge Conflicts to the editor title of files with merge conflicts and to the Merge Changes group in Source Control.

Claude Code v2.1.330

  1. breaking Breaking

    Changed claude --teleport in some setups to print git commands for switching branch instead of running them; with -p it exits 1 until the branch is switched.

  2. fix

    Fixed Claude sometimes replying to its commit attribution reminder and ending the turn early after a mid-turn model change; it can still happen where managed settings set the PR attribution line.

  3. fix

    Fixed resumed self-hosted runner sessions starting without their pushed work in large repositories when --push-outcome-on-release is set.

  4. fix

    Self-hosted runner: a failed start with no git credentials now says whom to ask and what to do if the repository is wrong, instead of suggesting a retry.

Claude Code v2.1.329

  1. breaking Breaking

    Self-hosted runner: a second host name's clone of the same owner/name now goes under _repos/clones/<host>/ in the base folder, though no existing clone moves.

  2. fix

    Fixed /code-review with a PR number sometimes reviewing the checked-out branch without saying so; it now reads the PR with gh pr diff or says it cannot.

  3. fix

    Self-hosted runner: fixed --push-outcome-on-release sometimes deleting a session's branch on the git host.

  4. fix

    Self-hosted runner: fixed setup failing on Git LFS repositories cloned through Anthropic-managed git; sessions start on pointer files and git lfs pull fetches content.

  5. fix

    Fixed self-hosted environment sessions not starting from a git remote using an SSH host alias, GitHub SSH certificates or a GHE.com SSH user; the alias error now gives two git commands.

+4 more
  1. fix

    Fixed the Remote Control diff listing a file twice when the branch renamed it and it was then edited.

  2. other

    /code-review with no target on most models now reviews the whole branch against the default branch, and no longer loses the diff on multi-commit branches.

  3. other

    Auto mode runs git status less often; a git command that discards changes may now be blocked until the working tree is checked.

  4. other

    /code-review with a PR number and --fix, or given a PR URL, now stops without reviewing when gh pr diff is refused or fails.

Claude Code v2.1.328

  1. fix

    The Linux Bash sandbox no longer renames .git/HEAD after each command when the branch name is not valid UTF-8.

  2. fix

    Self-hosted runner no longer deletes a kept clone's objects or refs, or commits existing only there, after a temporary disk error; that start now fails instead.

  3. fix

    Sessions with Anthropic-managed git keep GitHub access after a script or hook in the session runs claude again.

  4. fix

    Self-hosted runners with Anthropic-managed git can fetch and push when the machine's git config sets http.proactiveAuth.

  5. other

    A claude run by a wrapper script before the session's own claude is up, or after it has ended, has no Anthropic-managed git.

+1 more
  1. other

    Self-hosted runners at --capacity 1 refuse a session earlier when the path of a repository it pushes to is a symbolic link.

MCP reference servers v2.5.0

  1. fix Breaking

    mcp-server-git requires Git 2.33 or newer for repositories with a checked-out submodule, and refuses repositories that declare a promisor remote on Git versions too old to disable lazy fetching.

    git
  2. fix

    mcp-server-git 2026.11.18 stops git_merge from starting Git's automatic maintenance, setting maintenance.auto to false and gc.auto to 0 for every Git command the server runs.

  3. fix

    mcp-server-git turns off lazy fetching with GIT_NO_LAZY_FETCH=1 and refuses repositories that declare a promisor remote when the installed Git is too old to honor that setting.

  4. fix

    mcp-server-git re-reads filter and merge drivers after git_checkout, git_merge and the merge abort write the working tree; the --repository confinement check is not yet repeated after such a write (issue #5599).

  5. fix

    mcp-server-git empties filter or merge drivers with an empty name, which previously were missed and could run their command.

+3 more
  1. fix

    mcp-server-git refuses index entries that point outside the working tree and turns off the untracked cache, which previously let git_diff, git_diff_unstaged and git_status read or check files outside the repository.

  2. fix

    mcp-server-git sets diff.submodule to short, overrides drivers defined by checked-out submodules, and refuses repositories with a checked-out submodule when Git is older than 2.33.

  3. fix

    mcp-server-git 2026.11.18 redacts query values and the fragment in git_remote URLs.

Claude Code v2.1.327

  1. fix

    Fixed self-hosted runners with --use-anthropic-git-proxy deleting a non-empty directory named by GIT_CONFIG_GLOBAL at startup; the runner now keeps it, ignores the variable and warns.

  2. performance

    Improved startup time on Windows when PATH points to Git for Windows' bin folder by starting git.exe directly.

  3. performance

    Changed non-interactive (-p) mode to run fewer git commands before the first request.

Claude Code v2.1.326

  1. breaking Breaking

    Worktree creation, /teleport and IDE checkouts run git with a stricter PATH, so a git filter or helper may need its full path.

  2. breaking Breaking

    Subagents isolated in a worktree refuse some git commands in Bash that can rewrite branches shared with the checkout, in any repository.

  3. breaking Breaking

    Self-hosted runner Linux and macOS sessions with no gh get a built-in gh api by default via Anthropic; --use-anthropic-gh false turns it off.

  4. fix

    The footer PR badge updates when the branch changes instead of showing the previous branch's pull request.

    footergit
  5. fix

    The Pushed to summary names the right branch after a fetch or pull, and Merged or Closed PR no longer shows when gh refused the action.

    gitsummary
+2 more
  1. performance

    The first message after /compact is faster in git repositories.

  2. other

    The Bash sandbox sets aside unexpected entries in a repository's .git folder after a command.

Claude Code v2.1.325

  1. breaking Breaking

    Changed read-only git commands to ask first in repositories that are not the project's or a trusted one; name the repository with --add-dir, not additionalDirectories, to run them without prompts.

  2. breaking Breaking

    Changed worktree isolation so an isolated worktree session or agent is refused git bisect run, git maintenance register or start, and scalar set-up commands, and is told what still works.

  3. other

    Added a note for Claude when a sandboxed git checkout, git stash, or autostash pull cannot update protected files such as those in .claude.

  4. fix

    Fixed /security-review and skills' inline git commands erroring in worktrees of bare repositories, --separate-git-dir checkouts, and Android repo checkouts.

  5. fix

    Fixed sessions showing as waiting for input when a finished pull request only needed the user's own review or merge.

+5 more
  1. fix

    Fixed worktree.sparsePaths and sparse plugin and marketplace clones omitting the repository root files on older git versions such as 2.34.

  2. fix

    Fixed a case where the Bash sandbox did not fully protect a linked worktree's shared git folder.

  3. fix

    Fixed /teleport's stash choice in some unusual git states; it now stops and says what to do.

  4. other

    Improved the HTTPS authentication failed message for private plugin marketplaces to say git terminal prompts and askpass are disabled, and to appear with newer git versions.

  5. other

    Changed ripgrep, local git commands, and sandbox runtime helper programs to run without the mTLS client key passphrase in their environment.

Claude Code v2.1.323

  1. breaking Breaking

    Changed /security-review to ask before Claude runs it, and skills' inline git commands to stop in bare-repository worktrees and similar folders until allowed, outside auto mode and bypass.

  2. breaking Breaking

    Changed ripgrep and most internal git commands to run without most sign-in tokens and API keys, so credential helpers or hooks under them no longer find them.

  3. breaking Breaking

    Changed glab config set without --global or --host, and glab config edit --local, to fail read-only inside the Bash sandbox; run them outside it.

  4. breaking Breaking

    Changed the macOS and Linux sandbox so git worktree add, move, and remove fail read-only, as do commits in worktrees the session was not started in or given.

  5. breaking Breaking

    Changed marketplace and plugin installs to fail when a git submodule is not on the commit its repository records.

  6. breaking Breaking

    Changed worktree creation to refuse checkouts whose .git folders are links or hold hard links; use a plain clone.

+4 more
  1. fix

    Fixed .claude/settings.local.json not being ignored globally when a folder later became a git repository or on a new machine.

  2. fix

    Fixed the changed-files list of remote sessions omitting files added with git add -N before the first commit.

  3. fix

    Fixed read-only git commands needing approval or being refused under claude -p when CLAUDE_CODE_SUBPROCESS_ENV_SCRUB is set on Linux.

  4. fix

    [Claude Code on the web] Fixed git clones and fetches longer than ten minutes sometimes being cut off at the end in cloud sessions.

MCP reference servers v2.4.0

  1. fix Breaking

    Git server Git commands now override repository-defined settings such as core.fsmonitor, diff.external, hooks, filter and merge drivers and signing, so a repository cannot run programs through its .git/config; Git older than 2.31 is now refused, so older Git installations must be upgraded (GHSA-6hqx-gqrx-c5r2).

  2. fix

    Git server --repository confinement now refuses alternate object stores, linked worktree Git directories and symlinks in the Git directory that lead outside the allowed repository; directory junctions on Windows are not yet covered (GHSA-q74p-4wrc-q7w6).

  3. fix

    Git server requires git_log max_count to be at least 1.

    git
  4. docs

    Git and time Zed configuration snippets are now valid JSON.

  5. docs

    Git server --help and validate_repo_path now state the --repository confinement.

+1 more
  1. other

    Fetch, git and time Python packages adopt ruff 0.17 and fix its new lint findings.

Claude Code v2.1.321

  1. fix

    The git status given to Claude at session start now reads as unavailable when git status fails instead of reading as clean.

  2. fix

    The git status given to Claude at session start no longer shows the first listed file as staged when its changes are not staged.

  3. performance

    On Windows with a standard Git for Windows install, startup is faster because Claude Code no longer checks which git.exe to run on every launch.

Cursor Build Live Apps in Cursor

  1. feature

    Apps can be deployed from new or existing repositories on Cursor Origin and GitHub; support for other git providers such as GitLab is stated as coming soon.

MCP reference servers v2.3.0

  1. fix

    git_diff accepts revision ranges such as main..feature.

    git
  2. docs

    Documented setting the commit identity through env vars or gitconfig.

    git
  3. feature

    Added a git_merge tool.

    git
  4. feature

    Added a read-only git_remote tool that lists remotes.

    git
  5. feature

    Added prompts that embed the repository's changes.

    git

Claude Code v2.1.318

  1. fix

    Improves the reliability of git commits and pull request creation when the Bash tool runs macOS's built-in /bin/bash.

Claude Code v2.1.316

  1. performance

    Improved /diff on large repositories: each refresh usually runs one fewer full-repository git command, and refreshes are spaced out when git is slow.

Claude Code v2.1.314

  1. fix

    Fixed background diff refreshes briefly taking the repository index lock, which could make a concurrent git command fail with Unable to create .git/index.lock.

    git
  2. fix

    Fixed the Bash edit diff listing a whole file as changed when a CRLF file under git line-ending conversion was re-saved unchanged or had one line edited.

    diffgitline-endings
  3. other

    Improved the self-hosted runner error for a session branch missing from the git remote, which now covers never-pushed branches, explains each fix, and no longer suggests retrying.

  4. other

    On macOS, changed git grep in most commands Claude runs to use the C locale, to avoid a reported memory leak in macOS's regex library on files that are not valid UTF-8.

  5. fix

    Fixed cloud sessions reporting uncommitted changes every turn after Claude moved a branch to a commit it had pushed from another worktree.

MCP reference servers v2.2.0

  1. docs

    mcp-server-git documents that without --repository every reachable repository is in scope.

  2. fix

    mcp-server-git creates a branch from a detached HEAD and from a commit-ish base.

    git
  3. fix

    mcp-server-git prints non-ASCII paths as written and replaces undecodable diff bytes.

    git
  4. fix

    mcp-server-git fixes the security advisory GHSA-w766-5x43-whvw.

Claude Code v2.1.309

  1. fix

    Worktrees and branch checkouts created by Claude Code now ignore git replace refs, matching its other git operations.

  2. performance

    Many git commands Claude Code runs for itself are faster on Windows, and their errors now show in English on every platform even when git uses another language.

  3. other

    Worktree creation and reuse no longer let git fetch objects on demand, in ordinary clones and in partial clones with a Bash sandbox configured; partial clones fetch them first.

Claude Code v2.1.307

  1. fix

    Fixed self-hosted runner sessions with --use-anthropic-git-proxy committing a .claude/settings.local.json left in the clone by an earlier session.

Claude Code v2.1.305

  1. fix

    Fixed new worktrees in a bare repository sometimes starting from local HEAD instead of the default branch.

  2. fix

    Fixed repository access failing since 2.1.296 for self-hosted runners when a git credential helper or askpass program reads its settings through GIT_CONFIG.

Claude Code v2.1.304

  1. fix

    Fixed claude --worktree removing the worktree and its branch without asking at exit when HEAD was detached or on another branch, which could lose commits.

  2. other

    Self-hosted runner: improved the error shown when the git host answers "not found" for a session's repository; it now names the repository and whom to ask.

  3. performance

    Windows: improved git command start-up with a standard Git for Windows install by running git.exe directly instead of through its cmd launcher.

MCP reference servers v2.0.0

  1. feature

    The fetch, git and time Python servers serve the 2026-07-28 protocol era alongside 2025-11-25.

  2. fix

    The git server's git_show diff headers are prefixed with a/ and b/.

    git
  3. other

    Known issue: in mcp-server-git, the string 'null' passed as base_branch to git_create_branch, or as contains or not_contains to git_branch, arrives as no value; this affects only a branch named null, and workarounds are documented.

    git

Claude Code v2.1.302

  1. fix

    Fixed plugin marketplaces re-cloning on every refresh, and newly installed git plugins showing version "unknown", when git defaults to the reftable ref format.

  2. fix

    Fixed worktree isolation refusing to create or resume worktrees under git 2.56 or later when a stray .git file points at a directory that does not exist.

  3. fix

    Self-hosted runner: fixed git fetches failing with "bad object refs/heads" in sessions that reuse a checkout stored in git's reftable format.

Gemini CLI Release v0.66.0-nightly.20261016.gdebf42324

  1. fix

    Interactive credential and SSH prompts are disabled in getSafeGitEnv.

Claude Code v2.1.301

  1. fix

    /diff now detects a conflicted cherry-pick or revert in reftable repositories when one of its git checks times out or fails.

Claude Code v2.1.300

  1. fix

    The diff view in Claude Desktop and Remote Control sessions now detects a conflicted cherry-pick or revert in reftable repositories.

  2. fix

    OpenTelemetry tool_result events now include git_commit_id after git commit -q in repositories using reftable ref storage.

  3. fix

    --worktree sessions now start from the correct commit when a tag or branch is named like a commit ID, and their starting git status names the new worktree's branch.

  4. fix

    The branch no longer shows as .invalid, and --worktree can reopen a worktree, in repositories using reftable ref storage.

  5. fix

    --worktree in a worktree of a bare repository no longer fails when origin's default branch cannot be fetched; the fallback base is now the current checkout's HEAD.

+1 more
  1. fix

    The diff view in Remote Control sessions on claude.ai and the desktop app now shows deleted and renamed files correctly; it requires Claude Code v2.1.296 or later on your machine.

Claude Code v2.1.299

  1. fix

    Fixed --worktree sessions leaving a folder in .git/worktrees in repositories using git's reftable ref storage.

  2. fix

    Fixed self-hosted runner sessions showing tracked files as staged deletions when starting in a reused clone whose remote is still empty.

  3. other

    Self-hosted runner: Improved the output of setup and doctor when the runner's machine has no git credentials.

  4. other

    Improved the error for creating a worktree at a bare-repository layout root to explain the layout.

  5. other

    Changed errors from /ultrareview upload failures to stop suggesting git add ., which could stage untracked files such as .env.

MCP reference servers v1.0.0

  1. breaking Breaking

    git removes the raise_exceptions parameter from server.run.

  2. fix Breaking

    git unifies the git_log output schema, which changes the output shape for consumers.

    git
  3. fix

    fetch reports the package version in serverInfo.

  4. fix

    git refuses empty commits and reports a no-op git_add.

    git
  5. fix

    git reports a detached HEAD from git_checkout and reports unknown branch types and existing branch names as errors.

    git
+4 more
  1. fix

    git_show prints git's format, decodes non-UTF-8 patches, and shows colons.

    git
  2. fix

    git resolves --repository to the repo root and prints a one-line error for a missing path.

    git
  3. fix

    git reports unknown tools and flag-injection rejections as errors.

    git
  4. fix

    git reapplies a merge autostash when git_commit concludes a merge.

    git

Claude Code v2.1.296

  1. fix

    Fixed a self-hosted runner session's git fetch, pull and push failing while another session of the same repository starts on a runner with --capacity above 1.

  2. fix

    Fixed OpenTelemetry tool_result events missing git_commit_id after git commit -q or git -C <dir> commit.

  3. fix

    Windows: Fixed claude plugin install failing for GitHub owner/repo plugin sources on machines with no GitHub SSH key; the clone is now retried over HTTPS.

Claude Code v2.1.295

  1. fix

    Fixed subagents in their own linked worktree being shown the parent session's git branch, status and recent commits.

  2. fix

    Self-hosted runner: Fixed git fetches being cut off while the git server still reported progress on large repositories; CLAUDE_RUNNER_FETCH_SERVER_PROGRESS_CAP_MS tunes or disables the wait.

Claude Code v2.1.293

  1. fix

    Fixed the /ultrareview upload refusal over split-index files advising a git command that could leave git unable to read its index.

Claude Code v2.1.286

  1. fix

    Fixed the commit attribution reminder being re-sent inside tool output when a model fallback lasts only one turn.

  2. feature

    When project or user skills include one named verify, Claude is now told to run it right before committing, except for docs-only and tests-only commits.

Claude Code v2.1.285

  1. breaking Breaking

    /ultrareview on macOS and Linux now leaves symbolic refs out of uploads and refuses a checkout whose current branch is a symbolic ref.

  2. breaking Breaking

    /ultrareview on macOS and Linux now requires git 2.31 or newer to upload a local repository and refuses checkouts made with --separate-git-dir.

  3. fix

    Fixed plugin and marketplace installs and updates over SSH ignoring the ssh program set in GIT_SSH or core.sshCommand.

  4. fix

    Fixed SSH passphrase and new-host prompts from worktree and /teleport fetches taking over the terminal; these fetches now fail fast.

  5. fix

    Fixed /ultrareview on macOS and Linux failing to upload from a git worktree whose per-worktree config sets core.longpaths.

+3 more
  1. other

    Improved validation of git URLs for plugins, marketplaces and the current repository's remote.

  2. other

    /ultrareview on macOS and Linux now sends a partial clone as a working-tree snapshot on git 2.31 or newer.

  3. other

    /ultrareview on macOS and Linux now refuses, instead of fetching, a partial clone missing working-tree files on older git versions.

Claude Code v2.1.284

  1. fix

    Fixed /ultrareview failing to upload the working tree from a git worktree created by the Claude desktop app on macOS or Linux.

Claude Code v2.1.283

  1. breaking Breaking

    claude plugin eval now requires git 2.31 or later when git is installed and refuses to run on older versions.

  2. breaking Breaking

    Self-hosted runner lifecycle hooks' git now skips Git LFS pre-push hooks, ignores a writable system core.hooksPath, and does not sign commits without --configure-git.

  3. fix

    Fixed worktree checkouts failing certificate verification when the CA certificate is passed via GIT_CONFIG_COUNT environment pairs.

  4. fix

    Fixed sandboxed git asking credential helpers to store the sandbox proxy's login.

  5. other

    Under Anthropic-managed git on self-hosted runners, the runner's own git always verifies Anthropic's git route regardless of GIT_SSL_CAINFO and GIT_SSL_NO_VERIFY, with warnings explaining what applies.