Hosting the code is probably non-material as far as costs go for Mozilla, and I doubt they would ever recoup the costs of migrating the code off their current solution in terms of engineering costs.
If I had to guess, this is them meeting other Open Source contributors where they usually are, which in large part is GitHub these days.
May she have used it as toilet paper