Create a .gitignore file
Add *.log to the .gitignore