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