git how to add only tracked files code example
Example: git add all tracked files
// stages all modifications and deletions, without new files.
git add -u
// stages new files and modifications, without deletions.
git add .
// stages all changes.
git add -A