Nono.MA

[Solved] Git Error: insufficient permission for adding an object to repository database .git/objects

APRIL 20, 2021

cd /path/to/repo.git
sudo chgrp -R {groupname} .
sudo chmod -R g+rwX .
find . -type d -exec chmod g+s '{}' +

Source

CodeGitError