how to upload code folder 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: git create github repo
git init
git add .
git commit -m 'Initial commit'
gh repo create # => With the new GitHub CLI