Git: Undo Local Changes Without Messing With the Code

Until you "push" local changes, they are only available to you, and there are a few different ways to revert changes in a Git repository. In this article, I will talk about how to undo local changes before committing.

Empty directory on Git: Yes, It's possible

Often the folder hierarchy is important in our projects and we need to create empty folders in the repository. Many developers eventually discover the problem when they deploy to the server and notice that the folders have not been added to the commit.