Git improvements (#24238)

- **Base diffs on uncommitted changes**
- **Show added files in project diff view**
- **Fix git panel optimism**

Release Notes:

- Git: update diffs to be relative to HEAD instead of the index; to pave
the way for showing which hunks are staged

---------

Co-authored-by: Cole <cole@zed.dev>
0963401a8dConrad Irwin committed on 2/5/2025, 6:09:41 AM· committed by GitHubparent22b7042
11 files changedLine totals unavailable