insufficient permission for adding an object to repository database

getting back an error while ‘git push’

insufficient permission for adding an object to repository database

1
2
3
4
5
6
7
8
9
10
ssh username@192.168.1.45

cd /git_repos

/> chmod -R g+ws *

/> chgrp -R git *

/> git config core.sharedRepository true