Clone Repositories
Clone Your Repositories
Use natural language or the/clone command:
/clone which guides you through:
- Selecting private (authenticated) or public repository
- Choosing from your repositories or entering a URL
- Selecting a branch or entering a specific commit
Clone Pull Requests
Clone PRs directly by URL:- Fetches PR metadata
- Determines the source branch
- Handles forked PRs
- Shows PR context (number, state, branches)
- Review a teammate’s PR
- Test proposed changes
- Collaborate on a feature branch
- Understand implementation before merging
Pull Remote Changes
Pull changes from the remote by cloning again:- Maestro detects changed files
- Creates new iterations for changed files
- Adds any new files
- Preserves your iteration history
- Informs you what changed
Create Repositories
Create via Natural Language
Create via Command
- Repository name (required)
- Description (optional)
- Visibility (public or private, defaults to private)
- GitIgnore template (Python, Node, Go, etc.)
- License template (MIT, Apache-2.0, GPL, etc.)
- Organization (personal or org account)
- Auto-clone (enabled by default)
- Repository created on GitHub
- Immediately cloned to session
- Ready to start working
- Files synced to sandbox
Push Existing Session Files
If you have files in your session:- Create empty remote repository
- Push your session files as initial commit
- Respect .gitignore patterns
- Make you ready to work
Create Pull Requests
Understanding the Workspace
Critical: Maestro’s workspace is separate from git. Your work stays in the session until you explicitly create or update a PR:- Files exist in Maestro’s storage
- Changes tracked via iterations
- Full history preserved
- Nothing pushed to git until you create/update PR
Create a PR
Via natural language:- Review repository URL
- Set base branch (target, usually main/develop)
- Set feature branch name
- Confirm or modify
- Interactive UI shows all modified/new files
- Select which files to include
- Can deselect files you don’t want in this PR
- Shows diff statistics (lines added/removed)
- Provide/edit PR title and description
- Review file selection
- See complete diff of changes
- Confirm or cancel
- Commits selected files
- Pushes to GitHub
- Opens pull request
- Ready for team review
Update Existing PR
To update a PR, use/pr again with the same repository and branch:
- Shows currently included files
- Let you add/remove files
- Computes diff against current PR state
- Pushes updates to feature branch
- PR automatically updates on GitHub
Collaboration Workflows
Review a Teammate’s PR
Work on Shared Branch
When collaborating on the same branch:Sequential Collaboration
Developer A (first session):Advanced Workflows
Multi-Repository Features
Work across repositories:Hotfix Workflow
Release Preparation
Stacked PRs
Building features incrementally:Best Practices
Before Creating PR
Run this checklist:PR Quality Standards
For good PR descriptions, include:Incremental PRs
Create small, focused PRs instead of large ones:CI/CD Integration
Validate before pushing:Troubleshoot Common Issues
Clone Failed
Repository too large (limit ~10GB):PR Creation Failed
No changes detected:PR Not Showing Changes
Check:Next Steps
Master source control workflows, then explore:- How to Structure Sessions: Patterns for different project types
- How to Connect External Services: Integration workflows
- How to Troubleshoot Common Issues: Solutions for common problems
- Reference: Commands: Full command documentation

