For use as a primer and starting-point for CMS-based projects. The WordPress files are versioned using the official Git repository.
Based on David Winter's writeup
Since this uses submodules, you'll need to clone it by doing the following:
git clone --recursive git://github.com/stechico/wordpress-skeleton.git
If you have already made a clone, you can run the following:
git submodule update --init --recursive
Change into the WordPress subrepository:
cd wp
git fetch --tags
git checkout 3.9.2
Replace 3.9.2 with the correct and latest version number.
Now commit the changes subrepository version to your main project:
cd ..
git commit -m "Update WordPress to version 3.9.2"