A .gitkeep file tells github to do the opposite of its default behaviour, which is to ignore empty folders.
If you want to track an empty folder, or a folder with untracked files, create a 0kb file with the .gitkeep file extension in that folder.
touch FOLDER_NAME/.gitkeep