Add git ignore to template projects.