so, I dont understand how to git add two files together. theres someone that can help me?
Do you mean stage two files with one command?
git add <file1> <file2>
If you mean concatenating them together, then you would probably use
cat, not git:
cat <file1> <file2> > <outputfile>