Getting error while updating the bench

I am getting error while doing bench update.

vishnu@vishnu-VirtualBox:~/frappe-bench$ bench update
INFO:bench.utils:updating bench
fatal: unable to access ‘GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps’: Could not resolve host:
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==3.0.0’, ‘console_scripts’, ‘bench’)()
File “/home/vishnu/bench-repo/bench/”, line 40, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/vishnu/bench-repo/bench/commands/”, line 34, in update
File “/home/vishnu/bench-repo/bench/”, line 227, in update_bench
exec_cmd(“git pull”, cwd=cwd)
File “/home/vishnu/bench-repo/bench/”, line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git pull

I appreciate, if anyone can help me out in this context.

Ruchin Sharma

It just looks like github timed out but if issue persists maybe try:
cd /frappe/bech-repo/
git reset
git pull
cd /frappe/frappe-bench
bench update