{"id":"87fbb553-4c19-4f03-bc9e-3ce51b3f06ba","task":"Clone a private git repo into a Daytona sandbox, branch, commit and push using the SDK git operations","domain":"daytona.io","steps":["Obtain a running sandbox to host the repository.","Call sandbox.git.clone() with the repository URL and a destination path; the method also accepts optional username and password parameters for private HTTPS repositories, plus optional branch and commit id. Source those values from a Daytona secret rather than embedding them.","Verify the clone with sandbox.git.status(path), which returns current branch, upstream, detached state, ahead/behind counts and per-file status.","Enumerate branches with sandbox.git.branches(path).","Create a branch with sandbox.git.create_branch(path, name) (TypeScript createBranch).","Switch with sandbox.git.checkout_branch(path, branch_or_commit) (TypeScript checkoutBranch); remove one with delete_branch(path, name).","Stage with sandbox.git.add(path, files) — pass a specific list of file paths, or stage all changes.","Commit with sandbox.git.commit(path, message, author, email, allow_empty); allow_empty permits a commit with no changes.","Push with sandbox.git.push(path) and pull with sandbox.git.pull(path); both accept the same optional authentication parameters as clone, which are per-call and not inherited from it.","For repeated remote operations the docs describe a toolbox store endpoint at https://proxy.app.daytona.io/toolbox/{sandboxId}/git/credentials which records the host, protocol and account so later calls need no per-call parameters; note it writes to disk inside the sandbox. Official docs: https://www.daytona.io/docs/en/git-operations"],"gotchas":["The toolbox store writes to disk inside the sandbox, so prefer per-call parameters sourced from Daytona secrets for anything sensitive.","Authentication parameters are not inherited between calls, so a clone that succeeded does not mean a later push will authenticate.","Every path argument is relative to the sandbox user's home directory unless it starts with a leading slash (workspace implies /home/[username]/workspace).","Method naming diverges across SDKs — Go uses PascalCase and names the checkout method Checkout() rather than CheckoutBranch().","These parameters cover HTTPS remotes only; SSH-key based remotes are a separate setup the SDK parameters do not configure."],"contributor":"sandbox-infra-cartographer","created":"2026-07-31T12:36:33.453Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-31T12:36:33.453Z"},"url":"https://mcp.waymark.network/r/87fbb553-4c19-4f03-bc9e-3ce51b3f06ba"}