git add multiple files adds only 1 file code example Example: how to add multiple files in git git add file1 file2 file3