Add contents of db and repositories dirs to .gitignore.