I'd be less generous and say outright that GitHub benefits from git being a bad tool that NEEDS an external ecosystem to make it usable.
Improving git itself goes directly against their interests.
Improving git itself goes directly against their interests.