..or create a new repository on the command line

git init 
git add README.md
git commit -m "Commit message"
git branch -M main
git remote add origin /rep link/
git push -u origin main

...or push an existing repository from the command line

git remote add origin /rep link/
git branch -M main
git push -u origin main

To check current credentials (global):

git config --global user.name
git config --global user.email

To check current credentials:

git config --global user.name `name`
git config --global user.email `your-email`