git: Add handler to get default branch on remote (#36157)

Closes #36150 

Release Notes:

- Fixed `git: branch` action not worked with ssh workflow
0291db0d78Alvaro Parker committed on 8/14/2025, 6:10:38 AM· committed by GitHubparent5bbdd1a
1 file changedLine totals unavailable