Use current upstream for permalink to line (#26398)

Release Notes:

- git: Copy permalink to line now uses the upstream of the current
branch instead of "origin"
94e4aa626dConrad Irwin committed on 3/11/2025, 2:53:46 AM· committed by GitHubparent8ceba89
2 files changedLine totals unavailable