how to add all files to git add code example Example: git add all files command /*to add all the files in staging area at once*/ git add .