git: Fix a bug where BranchDiff shows incorrect diffs (#46433)

This happens when a user's default branch has different remote and local
versions on their system. Because we would get a diff using just a
branch name without including it's remote name as well

This is a better default because it's far less confusing from a user's
perspective to debug what's going on.

Release Notes:

- git: Fix BranchDiff showing incorrect diffs when default local branch
is out of sync with the remote default branch
5f92b31a8aAnthony Eid committed on 1/9/2026, 3:36:16 PM· committed by GitHubparentdd43891
6 files changedLine totals unavailable