Git will not store vacant folders. Just ensure there's a file in the folder like doc/foo.txt and run git increase doc or git incorporate doc/foo.txt, along with the folder is going to be added to your local repository once you've fully commited (and seem on GitHub when you've pushed it). https://johnathancpalt.wizzardsblog.com/32962866/website-can-be-fun-for-anyone