Git detection fails despite git being installed (macOS ARM64)

Resolved 💬 2 comments Opened Jan 10, 2026 by frogggias Closed Jan 11, 2026

Description

Claude Code shows "Anthropic marketplace requires git · Install git and restart" notification even though git is properly installed and functional.

Environment

  • Claude Code version: 2.1.3
  • macOS: 15.7.2 (Build 24G325) - Apple Silicon (ARM64)
  • Git locations:
  • /opt/homebrew/bin/git (v2.51.0 - Homebrew)
  • /usr/local/bin/git (symlink to Homebrew)
  • /usr/bin/git (v2.50.1 - Apple Git)

Steps to Reproduce

  1. Have git installed (confirmed working via git --version from all locations)
  2. Launch Claude Code
  3. Notification appears: "Anthropic marketplace requires git · Install git and restart"

Debug Log Evidence

From ~/.claude/debug/*.txt:

Official marketplace auto-install skipped: git_unavailable
Showing marketplace git unavailable notification

Attempted Fixes (none worked)

  • Restarting Claude Code
  • Restarting terminal before launching Claude Code
  • Clearing ~/.claude/cache/ directory
  • Clearing ~/.claude/statsig/ directory
  • Deleting ~/.claude/settings.json
  • Complete reinstall of Claude Code

Additional Context

  • All git commands work perfectly from the CLI
  • Git is available at /usr/bin/git which should not require PATH
  • The issue persists across multiple Claude Code sessions
  • Git remote operations work fine within Claude Code sessions (commits, status, etc.)

Expected Behavior

Claude Code should detect git since it's installed at standard locations including /usr/bin/git.

---
🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗