git ignore nested folder code example Example: git exclude nested folder in .gitignore NestedFolderName/