While update erpnext, getting error

chandu@myerp:~/eipl/frappe-bench$ bench update --bench
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 2), reused 2 (delta 0)
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Error: None
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/chandu/bench-repo/bench/cli.py”, line 38, in cli
return bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 610, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 590, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 416, in invoke
return callback(*args, **kwargs)
File “/home/chandu/bench-repo/bench/cli.py”, line 154, in update
File “/home/chandu/bench-repo/bench/utils.py”, line 139, in update_bench
exec_cmd(“git pull”, cwd=cwd)
File “/home/chandu/bench-repo/bench/utils.py”, line 61, in exec_cmd
subprocess.check_call(cmd, cwd=cwd, shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘git pull’ returned non-zero exit status

Could be an issue with your internet connection.

Sir Happy new year
Erpnext was hosted in Digital ocean

Digital ocean clams that theyer side all working well, and also internet had no problem

Reference from Degtalocean
The only errors I see here appear to be permission related, not network related. I was unable to replicate any issues with reaching github.com when creating another droplet. You may want to review this information as it appears to have some tips for the first error I see

If you would also like to give us a ping/traceroute to github.com we can make sure you are able to communicate with them. You can run the following commands:

ping -c5 github.com
traceroute github.com

If you can give us those results we can ensure you have a connection to github.com.

Let us know if you have any other questions!

any help regarding update error
stile i am getting same error.