Run a bench update command This error is came git fetch upstream

ikhlas3@ikhlas3:~/sajid/bench$ bench update
fatal: ‘upstream’ does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.92’, ‘console_scripts’, ‘bench’)()
File “/home/ikhlas3/bench-repo/bench/”, line 60, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 610, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 590, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 416, in invoke
return callback(*args, **kwargs)
File “/home/ikhlas3/bench-repo/bench/”, line 327, in _switch_to_develop
File “/home/ikhlas3/bench-repo/bench/”, line 180, in switch_to_develop
switch_branch(‘develop’, apps=apps, bench=bench, upgrade=upgrade)
File “/home/ikhlas3/bench-repo/bench/”, line 148, in switch_branch
version_upgrade = is_version_upgrade(bench=bench, branch=branch)
File “/home/ikhlas3/bench-repo/bench/”, line 91, in is_version_upgrade
fetch_upstream(‘frappe’, bench=bench)
File “/home/ikhlas3/bench-repo/bench/”, line 117, in fetch_upstream
return exec_cmd(“git fetch upstream”, cwd=repo_dir)
File “/home/ikhlas3/bench-repo/bench/”, line 104, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git fetch upstream

@Mohamed_Sajid bench needs upstream to be set as git remote.