eu tentei fazer um outro commit de outra pasta como teste e deu erro também.
hp@DESKTOP-SITT1EO MINGW64 ~/OneDrive/Área de Trabalho/Teste (main)
$ git init
Reinitialized existing Git repository in C:/Users/hp/OneDrive/Área de Trabalho/Teste/.git/
hp@DESKTOP-SITT1EO MINGW64 ~/OneDrive/Área de Trabalho/Teste (main)
$ git status
On branch main
nothing to commit, working tree clean
hp@DESKTOP-SITT1EO MINGW64 ~/OneDrive/Área de Trabalho/Teste (main)
$ git add .
hp@DESKTOP-SITT1EO MINGW64 ~/OneDrive/Área de Trabalho/Teste (main)
$ git commit -m "teste"
On branch main
nothing to commit, working tree clean
hp@DESKTOP-SITT1EO MINGW64 ~/OneDrive/Área de Trabalho/Teste (main)
$ git remote add origin main https://github.com/Rosanasantana84/teste2
usage: git remote add []
-f, --fetch fetch the remote branches
--tags import all tags and associated objects when fetching
or do not fetch any tag at all (--no-tags)
-t, --track <branch> branch(es) to track
-m, --master <branch>
master branch
--mirror[=(push|fetch)]
set up remote as a mirror to push to or fetch from
hp@DESKTOP-SITT1EO MINGW64 ~/OneDrive/Área de Trabalho/Teste (main)
$ git pull
fatal: 'teste' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
hp@DESKTOP-SITT1EO MINGW64 ~/OneDrive/Área de Trabalho/Teste (main)
$