I am having issues with my git on a windows machine. I always have some git files that are modified in every repo, the files that show as modified are same.
None of the proposed fixes worked for me. However, I had Cygwin installed and TortoiseGit picked up its path when installed. I solved it by installing the official Git package and changed the path in TortoiseGit.