This is an important message requiring you to make a choice if you're based in the EU.
The empty directories will not be added to version control by Git as it supports only files. In this snippet, find some fast solutions to this problem.
The tutorial provides you with information you need to discard the unstaged changes in the working copy. Find several ways of discarding and get the codes.
Read this tutorial and solve the problem of stashing untracked files including ignored files in .gitignore. Find method presented by Git new versions.
This snippet explains how to stop tracking and ignore changes to a file in git.