I have this problem when i try to push in git:
error: insufficient permission for adding an object to repository database ./objects fatal: failed to write o
For me its a permissions issue:
On the git server run this command on the repo directory
sudo chmod -R 777 theDirectory/