• git remote rm origin
  • git remote add origin git@git:XYZ.git
  • git pull
  • git branch —set-upstream-to=origin/master master
  • repeat for other branches like "origin/dev dev" if applicable