In my opinion, code I add to Github is still mine. Guess we'll have to agree to disagree here.
Self-hosting would be awesome indeed, but I think doing it would be quite complicated because of the authentication part, which is needed to push changes to a git provider.