It is important to keep temporary build files and local user settings out of Source Control. SVN has the SVN:ignore property which can be applied to directories to prevent a directory or a file pattern from being committed to SVN.
GIT places the same information in a file named .gitignore. All sub directories will have those settings applied.
You can also create global ignore settings for GIT. This is done with the following command:
git config –global core.excludesfile ~/.gitignore_global
For .Net development I find the following good common GIT ignore settings: