GitHub integration
Every Appifex project includes automatic GitHub version control.
What you get
- Automatic repository creation - New repo for each project
- Version history - Every change is committed
- Branch management - Feature branches in Coder mode
- Two-way sync - Edit in Appifex or your IDE
Connecting GitHub
- Go to Settings in your Appifex dashboard
- Click Connect GitHub
- Authorize Appifex
- Select repository access (public or all repos)
Repository structure
Appifex creates organized repositories:
your-project/
├── web/ # React web application
├── mobile/ # React Native mobile app
├── backend/ # Python FastAPI backend
├── .github/ # GitHub Actions (if configured)
└── README.md # Auto-generated documentation
Working with branches
Builder mode
All changes commit directly to main:
main ← Your changes go here
Coder mode
Each session creates a feature branch:
main
├── session/feature-auth
├── session/mobile-redesign
└── session/api-v2
Two-way sync
Edit in Appifex
- Make changes in Appifex
- Automatically pushed to GitHub
- Continue in your IDE if needed
Edit externally
- Clone your repo locally
- Make changes in VS Code, Cursor, etc.
- Push to GitHub
- Appifex detects changes via webhook
- Continue building in Appifex
Pull requests
In Coder mode, create PRs directly from Appifex:
- Click Create pull request
- Review your changes (diff view available)
- PR opens on GitHub
- Merge when ready
- Session marked as merged
Webhooks
Appifex registers webhooks to track:
- Push events - Detect external commits
- Pull request events - Track PR lifecycle
- Branch deletion - Clean up merged sessions
Best practices
Use meaningful session names
When creating sessions in Coder mode, use descriptive names:
add-user-authenticationredesign-dashboardfix-mobile-navigation
Review before merging
Use the diff view to see all changes before creating a PR.
Keep main stable
In Coder mode, test in feature branches before merging.
Troubleshooting
Repository not syncing
- Check GitHub connection in Settings
- Verify webhook is registered
- Re-authorize if needed
Permission errors
Ensure Appifex has access to the repository:
- Go to GitHub → Settings → Applications
- Find Appifex
- Grant repository access