There's a merged pull request on the void-packages repository .gitignore: explicitly allow paths https://github.com/void-linux/void-packages/pull/41383 Description: This prevents git from picking up masterdirs that don't happen to be named the usual way and more custom and temporary files that should not be tracked by git.