commit single file in git:
$ git commit -m "Message goes here" file_name
example:
$ git commit -m "Pushing Only Single file to git" name.txt
------------------------------------------------------------
commit multiple file in git:
$ git commit -m "Message goes here" file1 file2
example:
$ git commit -m "Pushing Only two files to git" list1.txt list2.txt