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?
Updates the repository with changes from a remote branch
Adds a new file to the remote repository
Adds files to be tracked in the local repository and prepares changes in the working directory for staging
Commits changes to the local repository
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
