The add command stages a file ready to be committed to version control.

The basic syntax is as follows:

git add <filename>

To add all file in the current folder and sub folders run:

git add .

manpage git-add

bars search caret-down plus minus arrow-right times arrow-up