git rev-parse --abbrev-ref origin/HEAD | sed s@origin/@@ will tell us what the default branch is. Identify the default branch and use it.
Reporter: Neal Richardson / @nealrichardson
Assignee: Neal Richardson / @nealrichardson
PRs and other links:
Note: This issue was originally created as ARROW-15690. Please see the migration documentation for further details.