Test the .gitignore functionality.