xxxxxxxxxx
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
Add folder to github repository
xxxxxxxxxx
echo "# Repository-Name" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/User-Name/Repository-Name.git
git push -u origin main
xxxxxxxxxx
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
-->1)Click on the "ADD FILE" left to the green Code button
-->2)Then from the DropDown menu Tap on the "UPLOAD FILES"
-->3)Then Simply Drag and Drop the Folder .