On my current project we use TFS Source Control. I’m so used to GIT now that I had to figure out how to ignore files again.
The option for server workspaces is cloaking the folders / files you don’t need. Like the packages folder.
Using local workspaces (not the default) you can use a tfignore file. This is more GIT style.