Sobes.tech
Junior

What does the command 'git add name.txt' do?

sobes.tech AI

Answer from AI

Adds the file name.txt to the Git index (staging area). This is a preliminary step before committing, which prepares the changes to be included in the next commit.