The Fable series has always inspired me in this aspect, because they'd given a lot of thought to having your choices 'matter'.
It combines many of the techniques spoken of above.
Let's look at Fable III.
A linear story can differ
Yes, there is one main story-line in Fable III. You go through the same basic stages, regardless of what you do. You may not need to do everything in order, but you do everything nonetheless.
Combinations of permanent choices build the world
BUT, throughout that main story-line you make choices that affect the world-state permanently, which affects
the combination of content you ultimately had access to throughout the main storyline.
Do you build an orphanage or a brothel, do you restore the destroyed district or save the cash for your war. You can buy properties to make enough cash to pay for your war, or you can go to war with insufficient funds, affecting the end state, etc.
When you finish a certain stage of the game, the state of your character is recorded as a statue on the "road to rule".
This makes the main story replay-able, to see the different combinations of world states.
This is a linear path, with simple world-building
choices that are emotionally charged, or may fit with a character
theme that the player wants to play.
The story may branch, but the game doesn't need to
They are world-building choices that affect available content, but don't ever create a branch in the main story.
These world-building choices could be thought of as "required side quests" because there are no significant side-effects on the outcome of the main storyline, and yet you must engage with them.
These small world-story affecting choices don't change the structure of the story, they just change the small details of the story.
A multiple choice fill-in-the-blank story. There are many thousands of ways that you could combine all of these little choices, but the structure is the same.
Character state affects available content
Consider demon doors. The player could choose to flip flop in one play through between all of the states of good, evil, fat, skinny, married, not, etc to get into all of these doors, or they can be pigeon holed by their personal thematic choice. Either way, the player feels like they got what they wanted.
Quality over quantity
Yes, it would be cool to create a sprawling system of cause and effect. But, as a game developer, with limited time, resources, and motivation, you will be able to create a better quality product if you make a basic linear game, and then you add world-building aspects that
feel important, but simply tie back in to the same direction.
In the case of Fable III, there are so many of these world-story choices that, even though you know it is linear by gameplay, it still feels like you made the adventure your own every time you play, and most importantly the developers didn't sacrifice the quality of the experience just to say that there were endless ways that the game could play out.
It's about the player experience.