Changing Git branch in PSU does not remove existing files

Product: PowerShell Universal
Version: 3.7.9

Hello,
We have a PSU instance running on a ubuntu-based docker container in Azure. This instance was previously configured to use git sync triggered manually from a remote branch.

We are trying to change the branch within the same repo and push these changes to PSU. To do this, we have followed these steps:

1.Settings>Git>Git Settings
2. Reset


3. Enter the remote and change the branch to the (new) required branch
4.Set the following properties

5. Click on “Synchronize Now”
6. This brings in the latest commits

However, the files for Dashboards and pages are not updated. How to configure PSU in a way that would update the existing files (or remove them if they are not present in GIT)?

Thank you