# To disconnect git remote remove origin # To connect to a remote repo git remote add origin yourRemoteUrl # Then git push -u origin master