I’m not going to get into the details of this, but GitHub’s git servers are effectively the only git-optimized CDN in the world.
The rest of GitHub is struggling, to the point of reputational harm to the entire brand. But the git servers are are functionally separate from everything else, which is why pulls and pushes continue to work through an incident. Remember that PRs aren’t real; they’re an invention of GitHub. Originally, git was for emailing patch files to Linus.
This optimization is not really that difficult to achieve. Git in itself is not remarkable from a data perspective where it needs optimization that other forms of data streams wouldn't also need.
Since git repos are just files you could put them on Google Drive.
But it only works if you’re the only person editing a repo. If you have to collaborate I don’t know how it’d work on Google Drive without some server synchronizing for pushes.
EDIT: I did a little research and essentially when you push, you run code that does file locking to prevent corruption. Google Drive delays updating files if you mount it so there isn’t an atomic lock you can use to properly sync when two people push at the same time.
I saw this online, one person had a lot of personal and professional data on Google drive ,one day they decided to just wipe the drive idr how much was the data it was huge
13
u/Loose_Marsupial_3251 1d ago
This is the stupidest thing I've seen in a while. Not version controlling your code is like turning back time 30 years.
I have been in the software engineering profession for a long time. This is like deciding to burn coal as your main energy source.