Source: http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
cd ~
git clone http://github.com/username/dotvim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
cd ~/.vim
git submodule init
git submodule update
cd ~/.vim/bundle/fugitive
git pull origin master
git submodule foreach git pull origin master