I’ve found GitHub CLI and doing all these assignments has become far less tedious now that I just copy/paste this:

gh repo create REPO-NAME-HERE --private
echo "# REPO-NAME-HERE" >> README.md
git init
git add .
git add README.md
git commit -m "initial commit"
git branch -M main
git remote add origin https://github.com/YOUR-GITHUB-USERNAME/REPO-NAME-HERE.git
git push -u origin main
git status

I felt pretty smart after figuring this out. Saving myself all that time and typing.