The ultimate gitignore for WordPress projects

Set the gitignore file to dynamically include only the necessary files of your WordPress project.