git add

Shell
//to add a single file
git add <file>

//to add all changed files
git add -Agit add <file> or you can do git add -A to add all filesgit init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/Leonuch/flex.git
git push -u origin masterrm -rf .git/*to add all the files in staging area at once*/
git add .
Source

Also in Shell: