add remote repository to local repositoy code example
Example: add local repository to remote
git remote add origin https://github.com/Nikita-153/Try.git
git branch -M main
git push -u origin main
git remote add origin https://github.com/Nikita-153/Try.git
git branch -M main
git push -u origin main