I dunno if it's impossible to recreate. You could just scrape GitHub's user data, mirror all public repositories, provide GitHub login, and do everything you can to ensure that your new competing thing lets people move away from GitHub with no friction.