alan in /media/Projetos/servidor at fox ❯ git init --bare Initialized empty Git repository in /media/Projetos/servidor/ fatal: this operation must be run in a work tree
alan in /media/Projetos/servidor at fox ❯ git init --bare Initialized empty Git repository in /media/Projetos/servidor/ fatal: this operation must be run in a work tree
Já vi o que tinha feito de errado, estava faltando executar o git init antes.