I have resolved this problem using following steps
-
Remove every file from Git’s index.
git rm --cached -r .
-
Rewrite the Git index to pick up all the new line endings.
git reset --hard
Note that step 2 may remove your local changes.
Solution was part of steps described on git site
https://help.github.com/articles/dealing-with-line-endings/