self.upstream = os.path.join(self.tempdir.name, 'upstream')
subprocess.run(['git', '-c', 'init.defaultBranch=main',
'init', self.upstream], check=True)
self.upstream = os.path.join(self.tempdir.name, 'upstream')
subprocess.run(['git', '-c', 'init.defaultBranch=main',
'init', self.upstream], check=True)