Получить git удаленный URL
git config --get remote.origin.url
Frantic Fly
git config --get remote.origin.url
# If you require full output and you are on a network that can reach the remote repo where the origin resides
git remote show origin
git remote add origin https://github.com/danoldnyamsi7/subway-app-237.git
git branch -M main
git push -u origin main
git remote #This has two part "origin" and "upstream"
# Adding origin
git remote add origin <The url of local github repository>
#Adding upstream
git remote add upstream <The url where you have forked repository>