Git: don't ignore logs/cache directories themselves