git: New enter behaviour (#25986)

Closes #25951

Release Notes:

- git: Update "enter" in the list of changed files to preserve focus. If
you want the old behaviour, hit enter twice.
- git: Follow the cursor, not the scroll anchor, in the list. Although
the scroll anchor was nice for passive scrolling, it broke if you had
changed the overflow scroll settings.
1086b282b8Conrad Irwin committed on 3/4/2025, 3:49:29 AM· committed by GitHubparentffe2bed
3 files changedLine totals unavailable