Aparentemente a minha dificuldade é a mesma relatada na pergunta: https://cursos.alura.com.br/forum/topico-erro-ao-digitar-comando-git-push-local-master-90626, entretanto fui a pasta servidor e apliquei o comando git init --bare com sucesso, mas ao voltar a pasta vinicius e aplicar o push o erro permanece.
/alura/git_github/local/vinicius (master)
$ git push local master
Enumerating objects: 12, done.
Counting objects: 100% (12/12), done.
Delta compression using up to 8 threads
Compressing objects: 100% (10/10), done.
Writing objects: 100% (12/12), 1.48 KiB | 756.00 KiB/s, done.
Total 12 (delta 0), reused 0 (delta 0), pack-reused 0
remote: error: refusing to update checked out branch: refs/heads/master
remote: error: By default, updating the current branch in a non-bare repository
remote: is denied, because it will make the index and work tree inconsistent
remote: with what you pushed, and will require 'git reset --hard' to match
remote: the work tree to HEAD.
remote:
remote: You can set the 'receive.denyCurrentBranch' configuration variable
remote: to 'ignore' or 'warn' in the remote repository to allow pushing into
remote: its current branch; however, this is not recommended unless you
remote: arranged to update its work tree to match what you pushed in some
remote: other way.
remote:
remote: To squelch this message and still keep the default behaviour, set
remote: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
To C:/users/elyss/onedrive/Área de Trabalho/COTUCA_DS/alura/git_github/servidor
! [remote rejected] master -> master (branch is currently checked out)
error: failed to push some refs to 'C:/users/elyss/onedrive/Área de Trabalho/COTUCA_DS/alura/git_github/servidor'