Need help with adding local changes to GitHub

hi can you help me with this problem. Here, I am trying to add my local repository to github repository using git Bash, but some weird error is popping up stating that my repository does not exists, but i have checked everything exists, still this error is popping up.


all other contemporary steps are working but it is not getting added in my git hub repository.

Hello there,

I am not entirely sure what the issue is, but there are errors to do with your current remote. You should probably change this:

git remote -v

Should not produce those odd characters. Your remote should point to your GitHub repo:
image

In your case, there should not be any need for an upstream, but the origin should be the url to the repo you want.

yeah exactly when i did git remote -v it gave me some weird name for my git repository to fetch and push

$ git remote -v
origin  ––ps: (fetch)
origin  ––ps: (push)

but this here is my problem

$ git push -u origin  master
ssh: Could not resolve hostname \302\226\302\226ps: Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

As @Sky020 said, it seems to be an error in your remote URL.

Here is how to change it:

https://docs.github.com/en/github/using-git/changing-a-remotes-url