How Git Efficiently Transmits Your Changes
So here’s a fun one.
Have you ever noticed that even for huge changes to a repository, a
git push only sends over a few kilobytes, maybe a few megabytes at most?
If you’re familiar with the internals of git, you know that git stores an entire copy of the new file on commit.
So how are these changes so small?