How would I transpose this command to Mate?

I installed a power-button on my case and have it working for Raspian, how do I get it to work for Mate.

git clone


There is no need to «transpose» those commands to MATE.
You need to clone the github repository on your pi using the git command to do so.
sudo apt install -y git on your pi if it's not already installed.
Then, as mentionned on Github, ssh to your Pi,
git clone
and then in order to install:
or to uninstall :

Thank you, that is very helpful. I will try it as soon as I finish my downloads.