The stars information comes from GitHub Archive : https://www.githubarchive.org/
There are some limitations, for example it doesn't include events before 2011
The concept of "star" has also changed several times (they are still called watchers in the API)