how to distinguish between file and folder in git ignpre code example Example: gitignore folder in .gitignore: folder/