In an apocalyptical scenario where the internet has collapsed, DVD-RAM media could be used to exchange code by copying the bare repos from one disc to another and then transporting it to the next city/village/shelter. Granted, merging can become difficult in that scenario if several people in different locations are working on the main branch, but cherry-picking might resolve that problem even in these circumstances.
3/3