git commit multiple files code example Example: how to add multiple files in git git add file1 file2 file3