git add [filename]

This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit.

Full description