If you change the name of one of your repositories on Bitbucket or GitHub your local copy will no longer be synched up to it. Here’s how to fix this:
git clone part at the front)cd into your repo > use git remote -v to see the old (now incorrect) URLs of the remote repo. We want to change these.git remote rm <name>. Usually <name> will be “origin”.git remote add <name> <url>. Again, “origin” is a common choice for the <name> and the <url> is the one you copied from Bitbucket (or GitHub).git remote -vgit fetch
git pull origin master
git push --set-upstream origin master