I have been using Git extensions with Visual Studio 2015 for a while. I started a new .NET Core sample project recently, set it up with Visual Studio and did a few checks ins. Then I wanted to exclude wwwroot folder, so I added it to the .gitignore file. However, the files from that folder were still showing up in excluded files section in the Git extensions UI. I found this great tip on Stack Overflow, so I decided to write this quick post so that I could find this tip myself later. Yep, I often write posts on my blog for purely selfish reasons. So, just delete ms-persist.xml from the .git folder for your specific project and restart Visual Studio. Another great answer to a problem from Stack Overflow.
Thanks and enjoy.