def get_source(self, shell: ShellSession, retries: int = 5) -> None:
        """Get the source of the project."""
        git_source = self.local_git or self.git_url
        for retry in range(retries):
            try:
                shell.run_command(f"git clone {git_source} {self.dir}")
                return
            except Exception as e:
                print(f"Retrying to clone {git_source} due to error:\n{e}")
                if retry == retries - 1:
                    raise e
Get the source of the project.
benchmark/benchmark.py