Modify git ignore
Automatically create tmp folder if needed.