I have inherited a Visual Studio project, and the git repo did not include a .gitignore file. I downloaded the one located here https://github.com/github/gitignore/blob/master/VisualStudio.gitignore and pushed it to all branches (we maintain several versions of the project and have a separate branch for each).
However, whenever I open the project in Visual Studio, git is still tracking the .user files generated by VS, even though they are included in the .gitignore file.
Have I missed a step somewhere?