Introduction
When you make changes to files in a project, you need to tell Git which changes you want to include in the next snapshot. The git add command lets you pick these changes and prepare them for saving.
When you have edited files and want to include those changes in your next commit.
When you want to add new files to your project so Git starts tracking them.
When you want to remove files from the project and prepare that removal for the next commit.
When you want to selectively choose some changes but not others before saving.
When you want to check what files are staged before committing.