It's counterproductive to make or revert commits directly on the deployment server, it's preferable to do so on a local development setup. Git extension for Plesk is designed specifically to facilitate this workflow.
Even so, to use git within a domain, you need to specify the repository...