disconnect local git repo from remote code example
Example: disconnect local git repo from remote
# To disconnect
git remote remove origin
# To connect to a remote repo
git remote add origin yourRemoteUrl
# Then
git push -u origin master
# To disconnect
git remote remove origin
# To connect to a remote repo
git remote add origin yourRemoteUrl
# Then
git push -u origin master