GitHub integration
Automatic version control for all your projects.
Overview
Every Appifex project gets a GitHub repository with:
- All generated code
- Automatic commits on changes
- Branch management (Coder mode)
- Webhook sync for external changes
Connecting GitHub
First time setup
- Go to Settings in Appifex
- Click Connect GitHub
- Authorize the Appifex GitHub App
- Choose repository access level
Access levels
| Level | What it allows |
|---|---|
| Public repos only | Appifex creates public repositories |
| All repositories | Create public or private repos |
Automatic features
Repository creation
When you create a project:
- New repo created automatically
- Named after your project
- Includes README with project info
Commits
Every change is committed:
- Code generation → Commit
- File edits → Commit
- Deployments → Tagged
Webhooks
Appifex registers webhooks to track:
- Push events (detect external commits)
- Pull request events (track PR lifecycle)
- Branch deletion (clean up sessions)
Working with branches
Builder mode
All changes go to main:
main ← All your commits
Coder mode
Each session creates a branch:
main
├── session/feature-auth
├── session/mobile-app
└── session/redesign
Two-way sync
Appifex → GitHub
Changes in Appifex push automatically.
GitHub → Appifex
- Edit code locally or in another tool
- Push to your branch
- Appifex detects the change via webhook
- Continue building with updated code
Common workflows
Clone and edit locally
git clone https://github.com/your-username/your-project.git
cd your-project
git checkout session/your-branch
# Make changes
git push
View on GitHub
Click the GitHub icon in your project to open the repository.
Create PR manually
If you prefer GitHub's PR interface:
- Push your branch
- Go to GitHub
- Create PR normally
- Appifex tracks the PR status
Troubleshooting
Can't see repository
- Check GitHub connection in Settings
- Verify the repository exists
- Try reconnecting GitHub
Push failed
- Check your GitHub permissions
- Ensure branch isn't protected
- Verify network connection
Webhook not working
- Go to repo Settings → Webhooks
- Check webhook is registered
- Verify recent deliveries
Best practices
Use meaningful commit messages
Appifex generates descriptive commits, but you can also commit manually with your own messages.
Keep main stable
In Coder mode, merge only tested features.
Review before merging
Use GitHub's PR review features for team projects.