I could do it in ~5 minutes.
I could hack up an MVP of the features that Github has that I care about in maybe a weekend.
That said, I do use and love Github, but I use it for the network effects and general slickness.
If I need a private repo, I get off my fat ass and deploy it in less time than it takes to enter my billing address.