Plesk

Using remote Git hosting – Change Branch or Path

Deploy from a new branch

It is normal practice to work with several branches in one repository.
Only one branch can be active at one time. By default, the master
branch is used for deployment.

To add a new branch, you have to create it in your remote repository and
then pull the changes. After this, you can select one of two (or more)
active branches in Plesk. Go to Websites & Domains > Git, click
Change branch and path, and in the opened window select the branch
name in the Branch menu.

After you select a new branch and click OK, Plesk will display the
new active branch.

Change the deployment path

By default, the /httpdocs directory is used for publishing Git files
on your website. If you want to change the deployment path, go to
Websites & Domains > Git, click the Change branch and path
link, and in the opened window select the new directory.