Question: What does the git add command do in Git? 1 . Updates the repository with changes from a remote branch 2 . Adds a new

What does the "git add" command do in Git?
1.
Updates the repository with changes from a remote branch
2.
Adds a new file to the remote repository
3.
Adds file(s) to be tracked in the local repository and prepares changes in the working directory for staging
4.
Commits changes to the local repository

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!