pub fn get_remote_callbacks(
repo: &Repository,
url: Option<&str>,
) -> Result<RemoteAuth>Expand description
Build a RemoteAuth using the given repo’s config to drive credential
resolution. Mirrors git fetch/git push precedence:
local .git/config > worktree config > global > XDG > system.