how to push folders to github code example
Example 1: git upload folder
git init
git add <folder1> <folder2> <etc.>
git commit -m "Your message about the commit"
git remote add origin https://github.com/yourUsername/yourRepository.git
git push -u origin master
git push origin master
Example 2: how to push a file to github
git remote add origin 'your_url_name'
git push -u origin master