I have installed Obsidian Git, and whilst I am able to commit changes from Obsidian, and push to origin using Github Desktop, I am unable to push directly from Obsidian.
When I try to push from Obsidian, the following error message occurs:
Then you must use your github username and the token generated on github as the password on the settings for the git plugin in obsidian itself.
Please take into account that you must clone the repo first in a computer with https and not with git, (for the git clone will try to authenticate with a key and not with the token we just generated) and then copy that folder through USB or whatever method you prefer to the phone, then do the steps above.