You develop features behind compile or runtime flags and keep it off until it's ready to ship. This is what chromium.org does so that might be a more accessible way to see it in practice.
Yhere are a bunch of ways to land code that doesn’t get run yet, by adding new functions or default parameters and conditional logic.