On a github project you can go to a /branches page and se pretty graphs like this one that for each branch show how far behind and how far ahead each branch is with respect to master.

Is there a command line tool that does something similar? Something that works with remotes as well? For example,
git branch -v -v
is close to what I am looking for, but only works for local branches.
I’ve been curious about this as well, so i just whipped up a
git branch-statusscript that gives this information usinggit for-each-refUsage: