How can I add an empty directory (that contains no files) to a Git repository?
Many have already answered this question. Just adding a PowerShell version here.
Find all the empty folders in the directory
Add a empty .gitkeep file in there
Get-ChildItem 'Path to your Folder' -Recurse -Directory | Where-Object {[System.IO.Directory]::GetFileSystemEntries($_.FullName).Count -eq 0} | ForEach-Object { New-Item ($_.FullName + "\.gitkeep") -ItemType file}