Editing gitignore file to exclude public, private, and tmp directories