Linear codebase history? Why even use Git then... that's SVN stuff... we use Git now-a-days for a reason...
FB doesn't need to branch ... Gatekeeper (their A/B, feature flag system) really takes care of that concern logically
So git rebase -i will be more readable, while actual linear history is always gibberish.