adding a .gitignore file to exclude everything but the wp-content directory and the .gitignore file itself