# Git context is broken

**URL:** <https://forum.cursor.com/t/git-context-is-broken/129540>\
**Category:** Bug Reports\
**Created:** [August 14, 2025, 11:36am UTC](https://forum.cursor.com/t/git-context-is-broken/129540 "2025-08-14T11:36:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_james](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/_james/32/43195_2.png) [@\_james](https://forum.cursor.com/u/_james)\
**Post date:** [August 14, 2025, 11:36am UTC](https://forum.cursor.com/t/git-context-is-broken/129540/1 "2025-08-14T11:36:44Z")

</div>

### Describe the Bug

Using the github context (e.g. @Branch (Diff with Main Branch) ) is broken. Cursor either

- complains there’s nothing in the diff
- only reads the first file in the diff
- tries to run git commands (more recently)

Can this be fixed

### Steps to Reproduce

- make any changes in your branch
- in cursor chat, add context \> git \> (anything there)
- watch the model struggle

### Expected Behavior

Cursor can read the diff and respond to your prompt (e.g. provide meaningful feedback on the diff, summarise for PR description etc)

### Operating System

Windows 10/11

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.5 (user setup)  
VSCode Version: 1.99.3  
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290  
Date: 2025-08-13T02:08:56.371Z  
Electron: 34.5.8  
Chromium: 132.0.6834.210  
Node.js: 20.19.1  
V8: 13.2.152.41-electron.0  
OS: Windows\_NT x64 10.0.26100

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![condor](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/condor/32/73148_2.png) [@condor](https://forum.cursor.com/u/condor)\
**Post date:** [August 14, 2025, 4:50pm UTC](https://forum.cursor.com/t/git-context-is-broken/129540/2 "2025-08-14T16:50:48Z")

</div>

hi @_james which model did you use when you had issue with the git context?

---

<div class="post-metadata">

**Author:** ![\_james](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/_james/32/43195_2.png) [@\_james](https://forum.cursor.com/u/_james)\
**Post date:** [August 14, 2025, 11:05pm UTC](https://forum.cursor.com/t/git-context-is-broken/129540/3 "2025-08-14T23:05:31Z")

</div>

The chat GPT5 models seem to ignore the diff completely; and go on a thinking spree.

Have tried again this morning with a prompt “can you review the diff and tell me what files have changed @BranchBranch (Diff with Main Branch)" using auto selection and got mixed results

- Only pick up a few files in directories listed in .cursorignore
- Correctly identified the whole diff, including those in .cursorignore

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [September 5, 2025, 11:05pm UTC](https://forum.cursor.com/t/git-context-is-broken/129540/4 "2025-09-05T23:05:42Z")

</div>

Closed on September 5, 2025, 11:05pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
