Sourceforge was once the number one in project hosting for open source projects. But things have changed. And some things Sourceforge does are worrying. The adware injected into binaries of Open-Source-projects is indeed not worthy of an OSS-hoster.
Now github or Google Code seem like good alternatives. The question I ask myself is: can I trust these sites, that down the line they not may resort to similar measures to squeeze money out of the users?