There has been other questions in SO that explain how to use Git with Unity. I have also found this resource dealing with the same problem.
On the other hand there is this page dealing with git for Hololens development (using unity).
My question is more specific. You see in the .gitignore files in the first and second link, they include
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
in the ignore file. Now, in every unity project there is a C# solution file in the root directory (as well as a userprefs file and csproj file).
Why are these files not included for version control??
Ok, you can say "they are not included because when opening a project with unity, they are autogenerated" (really? is this true?)
But then why in the ignore file of the third resource (the one dealing with hololens development) there is no .sln or .userprefs or .csproj included in the ignore file?? (The C# files that are generated by unity are in the App directory which is included so those are not the subject of this question)