Go into the project you want to upload then enter the commands below one by one
Make sure not to forget the .git at the end
You need to create a personal access token via your github profile
git add . can take a while to load depending on what you are uploading: this is normal
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/<your-github-user-name>/<your-project-name>.git
git push -f https://<your-personal-access-token>@github.com>//<your-github-user-name>/<your-project-name>.git