Alot of times in a visual studio project you will want to ignore binary files types, such as .sln and .suo to make merging easier. This is how you do this:
git add .gitignore
git commit -m “added gitignore file”
Now you must edit the .gitignore file add the file extensions you want excluded
To stop tracking a file that is currently tracked, use git rm –cached.