Obsidian Git Error

In Obsidian mac I was getting the following error when the Git Obsidian plugin tried to interact with the Repo. fatal: could not read Username for ‘https://github.com’: Device not configured Although it works fine...