You can add all the files using the git add command like below for all the files you want to add, which will add all your files to the staging area, which means the files are ready to be committed.
git add file1.txt folder/file2.txt file3.txt file4.txt file5.txt
Now commit your files, the editions or addition made in the files will now be saved.
git commit file1.txt folder/file2.txt file3.txt -m "Some_message"
You will have added these files
file1.txt
folder/file2.txt
file3.txt
file4.txt
to the staging area and then committed with the same message.
file1.txt
folder/file2.txt
file3.txt
Note that files are added or committed in the same format.