I want to install a plugin for development, what should I do?

Make sure you are really using a git repository URL like https://github.com/angusmcleod/discourse-ratings.git
If you follow Beginners Guide to Install Discourse for Development using Docker to start developing, you don’t have to restart docker, just go into the discourse folder and call ./bin/docker/unicorn to start server or Ctrl + C to stop.