How can I check whether two branches are "even"? describes how to check if two git branches are even. However, the answers rely on having the branched fetches and updated locally. As this is part of a script and the git repos are quite big, I do not want to fetch all the info for the branches.
How do I check if two branches on a GitHub repo are even w/o having local copy of the git repo?