GitHub Integration: Import & Push Repositories
Link your GitHub account to import an existing repository into a shebang project, build with Work, and push verified changes to a new branch.
Importing a GitHub repository into a project
Connect your GitHub account and app permissions
When creating a new project or inside an empty project, click "Import from GitHub" and complete the shebang GitHub App installation for the repositories you want to grant access to.
Select the repository and branch
Pick your `owner/repo` and starting branch (for example `main`). Importing is only allowed into an empty project so existing files are never overwritten.
Tip: Repository import limits: up to 100 MB compressed archive, 300 MB uncompressed, and up to 20,000 files.Develop and test with Work
Your repository files are saved as the initial project version. You can now assign natural-language Work tasks to add features, fix bugs, and run tests.
Pushing changes to GitHub as a branch
Once your Work task finishes and you have reviewed the file diff, you can push the changes back to your connected GitHub repository:
- Safe branch workflow: shebang pushes to a feature branch so you can review and open a Pull Request cleanly.
- Automatic Secret Scan: Before any files leave for GitHub, `secretScan` inspects the diff. If an accidental API key, private key, or token is detected, the push is blocked and the findings are highlighted.