Re:Github experiencing major service outages across all serv...
by Cogito on Saturday December 22, 2012 @08:41PM
(#4958217)
To be fair, it uses the full blob until you pack, which is not immediately and depends on your settings. Large repositories spend a significant amount of effort determining optimum window pack sizes etc to optimise the packing of their history.
So, git can be quite heavy on disk usage, until all the loose objects are packed.
As an example when you clone a repository, it downloaded it, then in goes through a process of 'Resolving Deltas'. This is it going through the history applying the changes/deltas to the files so that they are up to the most recent revision.
The only files that are added in full are binary files.
Some reading: http://git-scm.com/book/en/Git-Internals-Packfiles :)