GitHub makes money by charging teams and organizations for premium subscription plans and by charging a fee when users buy third-party apps on their site.