I ran into this problem. None of the typical culprits are to blame. As for git (from the command line), the files were unmodified, but Android Studio still showed them as modified.
Turns out Android Studio and my command line terminal (cygwin) used two completely different git binaries. Android Studio pointed to the git installation that I did at some point in the past, while cygwin pointed to / usr / bin / git, which came from the Cygwin git package.
I edited the version control settings of Android Studio (as shown in Anton's picture) to point to git.exe in my Cygwin distribution, and then "update the file status" from the VCS menu, and all the files returned showed as unmodified.
source share