As a historical note -- git and hg didn't become popular and trivial to use until the past couple of years. When YouTube was written, free DVCSes were tricky to use, documentation was shakier and the best alternative, SVN, is a pain to set up for sharing over the internet. We're living in enlightened times now.