To be more specific, IIRC, it is consensus for Bitcoin nodes to follow the blockchain with the most accumulated chainwork. That is not necessarily the "longest" chain otherwise you could fool nodes to accept your much longer fake chain of blocks with low difficulty.
Under normal circumstances the chain with most accumulated chainwork is also the longest one.
Here you can observe occassional chain-splits in Mainnet:
https://fork.observer/?network=mainnetI wanted to show also a more messy, heavily forked Testnet4, but as I observed today fork.observer doesn't support Testnet3 and Testnet4 anymore, at least not from their main site.
Interesting... this doesn't happen very often (so close multiple forks):

And this is also, to my knowledge, an extremely rare situation for Bitcoin Mainnet where the abandoned leaf chain had a length of two blocks:

I've seen this only once and for this shown spot in above screenshot.