Staging Area

The staging area (also called the index) is where Git holds the changes you've selected for your next commit. You move changes into it with git add before…