list branches with the .../branches endpoint