Fail to setup Git

What I’m trying to do

I am trying to setup the Git pulgin using instructions on the plugin’s page. Following these instructions, I created an empty repo in my GitHub, cloned it to a new folder inside my vault, and moved the .git folder from this empty folder to the vault. I have also initialized libsecret. However, the plugin does not work, showing the following message instead:

Things I have tried

I ran git commands in the vault to check if git itself works properly, and was able to push the vault to GitHub without using the plugin, so the problem is not in Git or GitHub per se.