I made a 2 lines of change but in git It shows more lines of changes because of whitespace. Its very difficult for us to review the exact code changes.
The below are the
You can use git diff -w | git apply --cached --ignore-whitespace as mentioned here
git diff -w | git apply --cached --ignore-whitespace
EDIT: After you make any change, run git diff -w | git apply --cached --ignore-whitespace then git commit -m "your message"
git commit -m "your message"