Within the scope of LibGit2Sharp, is there a way to retrieve which branch is the default branch for any given remote? Eg, what branch would be checked out if I were to do a fresh clone?
A git.exe equivalent might be:
git remote show REMOTE_REPO_NAME | grep 'HEAD branch' | cut -d' ' -f5
I can't seem to find an equivalent API call from within LibGit2Sharp