pub fn remote_default( repo: &Path, creds: &dyn Credentials, ) -> Result<(String, String), Error>
The remote’s default branch and its commit, asked from the remote; also records it as origin/HEAD.
origin/HEAD