I tried searching for a fix of this kind of issue but all of them won't work.
This error happens yesterday after changing to a new server.
When pulling updates, it works as it should but when I push changes the error below appears.
ERROR:
Counting objects: 8, done. Delta compression using up to 2 threads.
Compressing objects: 100% (8/8), done. Writing objects: 100% (8/8),
989 bytes | 0 bytes/s, done. Total 8 (delta 6), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to
repository database ./objects remote: fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit