call getBranches for provider plugins