{"version":"2.1.307","anchor":"git-subprocess-environment-sets-a-new-variable-and-a-filesys","canonical_anchor":"git-subprocess-environment-sets-a-new-variable-and-a-filesys","heading":"Git commands now start from the top of the filesystem","tier":"internal","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.307\/e\/git-subprocess-environment-sets-a-new-variable-and-a-filesys","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.307","markdown":"### Git commands now start from the top of the filesystem\n\nWhen Claude Code runs git with its cleaned-up settings, it now sets one more variable and starts git from the filesystem's root folder\n\n**Unclear.** What the added variable does is not clear.\n\n**What**\n\nClaude Code runs git commands with a cleaned-up set of environment variables (named values a program reads when it starts). That set now includes one more variable, set to \"1\". Git is also now started from the root folder of the filesystem rather than with no starting folder given.\n\n**Why**\n\nGit looks for a repository starting from the folder it runs in. Starting from the root means it does not pick up a repository from wherever Claude Code happens to be.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}