Can I exclude specific file types from my repository?

You can exclude specific file types by creating a file called .gitignore at the root of your repository.

In this file you put the file types and folder names you want to exclude, one per line, e.g. :

*~
*.class
*.war
*.pyc
compile/

See other examples of .gitignore files for a variety of project types.