[IMP] repository_branch model migrated to API v8