Comparing GitHub and SourceForge as if they were cut from the same cloth is laughable to me. SF has always been a wretched hive of ads and dark patterns.
Not always. Before dice bought them they didn't do the ads. I even remember early on when you had to submit a project for approval before you got a CVS repo.
Not always, but it was so long ago that it became that, younger folks could be forgiven for thinking so.