index structure and gitignore