Honestly, I think that is the key. He didn't just create Git out of thin air... he spent alot of time thinking about what he wanted and using something that gave him a conceptual foundation.
10 days of writing code is impressive, but there would many,many days of thinking that preceded it.