Issues connecting repl to a remote Github repo

Dear Replit community,
I’m new to Git and I’m now trying to connect my repl to a remote (and yet empty) Github repo (to be able to separate and merge branches, write and execute commit requests etc.). The problem is, when running default Github commands to connect this repl to Github (such as this one:

echo "# test_stuff" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <account.git>
git push -u origin main

) I end up getting an error (screenshot attached).

How can I connect it to Github (as far as I know, I should generate SSH key to achieve that but when running ‘ssh-keygen -t rsa -C “you@example.com”’ I once again get an error) ?

Screenshots:


Thanks!

edit: accidentally put HTML/CSS/JS tag. changed to Node.js