git doesn’t ignore files that have been added to the repository. If you want to get it ignored, you have to delete the file from the repository:
git rm --cached project1.suo
git commit -m "Delete suo file from repository"
This will delete the file from the repository, while it’s still on your harddrive.