How to edit plugins code?

Since you’ve installed the plugin, you already know where the repository with the code is (here). To modify it, you fork that repository (you will need a github account). The forked repository is yours so you can edit away. When you’re done, you create a PR for the modified/added code.