I am trying to develop and maintain a project in Wordpress.
I am preferring git for 'version control'
I am cloning Wordpress core as git submodule in my local system.
I separated wp-content folder,wp-config.php,index.php from wordpress core folder and placed them outside the folder.
Updated the index and wp-config files appropriately to make this work.