If you have deleted files and then committed the folder the file is in, and surprised to see that the commit has not taken the delete you have just done?

Run this command instead

git add -u filename

And now when you commit your files the deleted files should be removed.