Picture this: two printouts slide across the table. Your git history. Your browser history. The highlighted dates line up: your commit lands 22 days after you opened the competitor's repo. Counsel asks, politely, what you were thinking.
That scene is why I keep a prior-art ledger. Reading their code is the protective move. Avoiding it just moves the collision somewhere more expensive.