Fatal: remote origin already exists

When I did export folders from my laptop with using command line I received message : "fatal: remote origin already exists. engl ".
When I add $ git remote add github … I Inothing received. I use GitBash.
What did iI do wrong? Thank.

I’m not sure, if I understand you correctly.

Run git remote within your local repository to see your existing remote repositories.

1 Like

I I understood my error, I made different name files in github.com in my laptop. Now when I fixed and I made ‘git push origin master’ , and github asked password , name and I again received new error " Logon failed, use ctrl+c to cancel basic credential prompt. remote: Invalid username or password. fatal: Authentication failed for ", althought entered password and name, what I use for github. What’s my mistake?
cat1

For Git over HTTPS you need to use a Personal Access Token instead of your password, see Create a PAT for how to get one. You need the repo scope for access to all your repositories, and possibly workflow for modifying GitHub Actions workflows.

1 Like

Thank, now all work!

1 Like