Obsidian git not working

There are already other threads discussing problems like this. Have you read them already?
For example the following thread could help you: