Add .gitignore file and include /tmp in ignore