Context. Tens of thousands of red giant stars in the Kepler data exhibit solar-like oscillations. The mixed-mode characteristics of their oscillations enable us to study the internal physics from the core to the surface, such as differential rotation. However, envelope rotation rates have only been measured for about a dozen red giant branch (RGB) stars so far. This limited the theoretical interpretation of angular momentum transport in post-main sequence phases. Aims. We report the measurements of g-mode properties and differential rotation in the largest sample of Kepler RGB stars. Methods. We applied a new approach to calculate the asymptotic frequencies of mixed modes, which accounts for so-called near-degeneracy effects (NDEs) and leads to improved measurements of envelope rotation rates. By fitting these asymptotic expressions to the observations, we obtained measurements of the properties of g modes (period spacing, ΔΠ1, coupling factor, q, g-mode offset term, εg, small separation, δν01) and the internal rotation (mean core, Ωcore, and envelope, Ωenv, rotation rates). Results. Among 2495 stars with clear mixed-mode patterns, we found that 800 show doublets and 1206 show triplets, while the remaining stars do not show any rotational splittings. We measured core rotation rates for 2006 red giants, doubling the size of pre-existing catalogues. This led us to discover an over-density of stars that are narrowly distributed around a well-defined ridge in the plane, showing core rotation rate versus evolution along the RGB. These stars could experience a different angular momentum transport compared to other red giants. With this work, we also increased the sample of stars with measured envelope rotation rates by two orders of magnitude. We found a decreasing trend between envelope rotation rates and evolution, implying that the envelopes slow down with expansion, as expected. We found 243 stars whose envelope rotation rates are significantly larger than zero. For these stars, the core-to-envelope rotation ratios are around Ωcore/Ωenv ∼ 20 and show a large spread with evolution. Several stars show extremely mild differential rotations, with core-to-surface ratios between 1 and 2. These stars also have very slow core rotation rates, suggesting that they go through a peculiar rotational evolution. We also discovered more stars located below the ΔΠ1–Δν degeneracy sequence, which presents an opportunity to study the history of plausible stellar mergers.