! [remote rejected] main -> main (failure) code example Example: ! [remote rejected] main -> main (failure) sudo git config --bool core.bare true