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