Open
Description
Describe the bug
As the title suggests, cloning a Git repository into a Sandboxe without specifying a branch fails if the default branch for that repository is not 'main'
DaytonaError: "couldn't find remote ref \"refs/heads/main\"
To Reproduce
Steps to reproduce the behavior:
- Find Git repository with "master" as the default branch
- Run the following:
await sandbox.git.clone(
"https://github.com/user/repo.git",
"workspace/repo"
);
Expected behavior
Default repository branch is dynamically detected.