Upon git push : am having the following error msg :

error: insufficient permission for adding an object to repository database ./objects


the fix :

ssh git-server
cd /data/git/projectname
chmod -R g+ws *