"Cannot run Git Command" pops up and Obsidian Git Plugin won't connect to branch

That doesn’t quite make sense. You couldn’t push it to Github unless it already is a repository. You can only push files in a repository to Github. You know it is a repository if there is a hidden .git folder inside your vault.

If you’re using the Github app to do it, the instructions in step 2 says to “Add an Existing Repository from your Hard Drive”, and you just select your Vault folder. It should set it up for you.

What OS are you using? In Windows you can go to the view options in the toolbar and show hidden folders. And in MacOS you can just hit Cmd-Shift-. to show hidden files. And then you can locate where that .git folder ended up.

And then maybe show a screenshot or something? Either of your Github app, or your vault folder with hidden files shown, if there is no sensitive information.

image