I am not a lawyer, but:
The GPL mandates all variants of the GPLed code be GPLed, however, nothing stops the original author from offering the original code in both GPLed and non-GPLed variants.
For instance, I could write a library, and release it under the GPL and also separately release it under a proprietary license requiring a fee. Since I did not modify the GPL licensed version, this is fine. Anyone who acquired the GPL would be bound by the GPL. Anyone who paid me and acquired it under the terms of the proprietary licensee would be bound by the terms of that license.
When a company decides to open source something under the terms of the GPL, there is nothing that stops it from doing whatever it wants to the original codebase, including making modifications without releasing them. The GPL binds people who agree to the license, but not the original author.