I have a project in one GitHub account and I want to upload it to another account without giving access to the first account and the first folder. I could not find a normal upload option because the old GitHub account has already been embedded on the project.
I tried both Visual Studio and through CMD, maybe there is another option to do it?
Wait for an answer.
I did it: (GitHub instructions)
git remote add origin https://github.com/UserName/FolderName.git
and get
error: remote origin already exists.