If you create a filenamed .gitignore in your repository’s root folder, Git uses the file to determine which files and directories to ignore, before you make a commit.
Use Sublime to create a new file named .gitignore in your user repo’s root directory.