retrieve list of branches