Preparing changes for a commit snapshot by moving them to the staging index.
Staging Specific Files
To stage changes in a specific file, use the git add command:
git add index.htmlStaging All Changes
To stage all new, modified, and deleted files in the entire project folder in one command, use the dot wildcard:
git add .