git add -A

Add all new and changed files to the staging area

The -A flag is the short version of --all. It ensures all changes are staged, including file and directory removals, new directories and new files added. It also works on the entire working tree.

By comparison, git add . only operates on the current directory and its subdirectories.