readGitRemoteBranch
Returns the checked-out branch's upstream branch and last fetched commit, falling back to the conventional remote default branches. The fallback is appropriate for selecting a view revision, but is deliberately not used to infer an editable branch; see readGitUpstreamBranch.