Add WordPress subrepository
Checkout WordPress 3.5.1
Adding default wp-config.php file
Adding default wp-content directory
Adding index.php
Pointing index.php to correct location
Restoring default twentytwelve theme
Update settings in wp-config.php