Maybe the developers of FOSS just want to use the best tool for the job.  Maybe they are opening up their work because they want others to be able to contribute to it and Github happens to be the most effective way of soliciting contributions.