The "add" command marks changes to be included in the next commit.
It adds changes to Git's "Staging Area", the contents of which can then be wrapped up in a new revision with the "git commit" command.
Specifies the files you want to add to the Staging Area. Note that you can both enter multiple file paths as well as paths to directories (the latter will then add all modifications in this directory to the Staging Area).
Adds all modifications to the Staging Area. This includes changed files, deleted files, and new files - anywhere inside the project directory.
Adds all changes to existing files to the Staging Area. This includes changed files and deleted files - but not new files that aren't currently tracked by Git.
The Git Cheat Sheet
No need to remember all those commands and parameters: get our popular "Git Cheat Sheet" - for free!