As I try to use the git add command adds a change in the working directory to the staging area.
It show the fatal error message as bellows:
This fatal error message results from this command fail to pass crlf check.
Here has the solution to fix this file's crlf problem.
If you have Notepad++ installed in your computer, simply follow these steps.
 Open the file that is having the fatal issue.
 Click Edit -> EOL Conversion, then select Windows Format and save it.