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