Github makes money from private repo subscriptions, Sourceforge was ad based. Also Github focuses on source code hosting, a lot / most Sourceforge projects just hosted the release files to a project.
The quality of the site went down hill, even with ads showing download buttons trying to trick the user.
The quality of the site went down hill, even with ads showing download buttons trying to trick the user.