[Error Solve] remote-htts/htps is not a git command?

user@user % git push origin main
git: 'remote-htts' is not a git command. See 'git --help'.

The most similar command is

What is ‘remote-htts’ is not a git command or ‘htps’? You can see this error when you using git. This issue made by wrong remote origin url. When i confirm my remote origin, i found that this issue caused by my fault.

You can solve this using this code.

user@user % git remote remove origin 
user@user % git remote add origin "https://RepositoryUrl.git"