title: Git: file keep appear in modified section, and can't commit it
body: <p>I have file without any changes, but keeps appear in "Modified" files, when try to add it and then commit receives: <code>no changes added to commit (use "git add" and/or "git commit -a")</code></p>
  
  <p>file path: <code>../v2.7/app/Http/Controllers/Wokbits.php</code></p>
  
  <p>I even tried to make small modification in the file, then commit/push (successfully), but file back to appear in "Modified" files.</p>
  
  <p><a href="https://i.stack.imgur.com/JFyOl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JFyOl.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/NmR41.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NmR41.png" alt="enter image description here"></a></p>
  
  <p><code>git config -l</code> returns:</p>
  
  <pre><code>core.excludesfile=~/.gitignore
  core.legacyheaders=false
  core.quotepath=false
  core.pager=less -r
  mergetool.keepbackup=true
  push.default=simple
  color.ui=auto
  color.interactive=auto
  repack.usedeltabaseoffset=true
  alias.s=status
  alias.a=!git add . &amp;&amp; git status
  alias.au=!git add -u . &amp;&amp; git status
  alias.aa=!git add . &amp;&amp; git add -u . &amp;&amp; git status
  alias.c=commit
  alias.cm=commit -m
  alias.ca=commit --amend
  alias.ac=!git add . &amp;&amp; git commit
  alias.acm=!git add . &amp;&amp; git commit -m
  alias.l=log --graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
  alias.ll=log --stat --abbrev-commit
  alias.lg=log --color --graph --pretty=format:'%C(bold white)%h%Creset -%C(bold green)%d%Creset %s %C(bold green)(%cr)%Creset %C(bold blue)&lt;%an&gt;%Creset' --abbrev-commit --date=relative
  alias.llg=log --color --graph --pretty=format:'%C(bold white)%H %d%Creset%n%s%n%+b%C(bold blue)%an &lt;%ae&gt;%Creset %C(bold green)%cr (%ci)' --abbrev-commit
  alias.d=diff
  alias.master=checkout master
  alias.spull=svn rebase
  alias.spush=svn dcommit
  alias.alias=!git config --list | grep 'alias\.' | sed 's/alias\.\([^=]*\)=\(.*\)/\1\     =&gt; \2/' | sort
  include.path=~/.gitcinclude
  include.path=.githubconfig
  include.path=.gitcredential
  diff.exif.textconv=exif
  credential.helper=osxkeychain
  core.repositoryformatversion=0
  core.filemode=true
  core.bare=false
  core.logallrefupdates=true
  core.ignorecase=true
  core.precomposeunicode=true
  remote.origin.url=git@git.wokcraft.com:wokcraft/API.git
  remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
  branch.master.remote=origin
  branch.master.merge=refs/heads/master
  mwafi:v2.6 prins$ 
  </code></pre>
  
  <p>Run: <code>GIT_TRACE=true git add -v ../v2.7/app/HTTP/Controllers/Wokbits.php;echo exit status is $?;git status</code></p>
  
  <pre><code>mwafi:v2.6 prins$ GIT_TRACE=true git add -v ../v2.7/app/HTTP/Controllers/Wokbits.php;echo exit status is $?;git status
  12:02:44.979902 git.c:348               trace: built-in: git 'add' '-v' '../v2.7/app/HTTP/Controllers/Wokbits.php'
  exit status is 0
  On branch master
  Your branch is up-to-date with 'origin/master'.
  Changes not staged for commit:
    (use "git add &lt;file&gt;..." to update what will be committed)
    (use "git checkout -- &lt;file&gt;..." to discard changes in working directory)
  
      modified:   ../v2.7/app/Http/Controllers/Wokbits.php
  
  no changes added to commit (use "git add" and/or "git commit -a")
  mwafi:v2.6 prins$ 
  </code></pre>