Github’s ToS states under section D.4 that they are implicitly granted the right to ‘…parse it into a search index or otherwise analyze it on our servers…", but they also allow for your licenses, but “This license does not grant GitHub the right to sell Your Content”