How to retrieve list of contributors on a branch that is not default. We would like to find the commiters each repo, irrespective of whether their changes made to master (the default branch).
This will get you what you're looking for by repository. You just need to pass the org and repo in as variables, or you can always hard code them.
You'll have to paginate through the results though if they're large enough.