Error trying to sync git using database

I setup git to sync using the default settings. When I try to sync it results in the error:

Error
Git Synchronization Failed
An error occurred trying to start process ‘git’ with working directory ‘C:\ProgramData\UniversalAutomation\Repository’. The system cannot find the file specified.

Git Config:

Use Database: True
Branch: Main
Sync Behavior: Two Way
Mode: Manual

Product: PowerShell Universal
Version: 3.7.13

Aside from configuring git, have you configured anything else?

For this configuration, you will also need git for windows installed since it uses an external git client to perform persistence to the PSU database.

I haven’t done anything else. I missed that requirement of the Git install, which makes sense now. However, I just installed git, but now receive a different error when I attempt to sync.

Error
Git Synchronization Failed
Exception has been thrown by the target of an invocation.

Thank you for your assistance.

I wasn’t able to get the local database configured correctly. I did change to using GitHub as my repo and I cleared my ProgramData .git folder, restarted the service and it looks like it is now working. Thanks for the help.