def load_git_graph(self):
with shelve.open(str(self.shelve_db_path)) as db:
if 'git_graph' in db:
self.git_graph = db['git_graph']
else:
self.git_graph = None
return self.git_graph