### # Keeping The Repository Clean Commiting the WordPress core files, the vendor files or any other Composer installed packages in the project isn't necessary with Composer. These would amount to 1000s of files that are configured in the `composer.json` and are automatically added to the project with the `composer install` command. Doing this in **Git** this is simple: ``` > .gitignore ``` ``` vendor/ wordpress/ public/wp-content/plugins/ public/wp-content/themes/ public/wp-content/uploads/ .env *.log ``` > This tells Git to ignore the files in the vendor and wordpress folders etc. That means, our repository stays nice and clean, and low in size. ### # Setting Up The Local Server
If you already have WAMP, MAMP or some other cool tool to create your local PHP server, feel free to continue. However, I highly recommend a virtual development environment using Vagrant or even a containerised operating system using Docker. That's beyond the scope of this guide, but you can search online how to setup Vagrant or Docker.