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