Switch from https to ssh or the other way check status git remote -v from https to ssh git remote set-url origin https://github.com/username/REPO.git from ssh to https git remote set-url origin git@github.com:USERNAME/REPO.git