Why Git for Collaboration?
Auk uses Git as its collaboration mechanism instead of cloud services, giving you complete control over your data and collaboration workflow.Full Control
Choose any Git service - GitHub, GitLab, Gitee, or self-hosted
Version History
Complete change history with the ability to rollback to any point
Standard Workflows
Use familiar Git workflows - branches, pull requests, code review
Offline First
Work offline, commit locally, sync when ready
How It Works
Sync Flow
- Local Changes - You modify collections or environments
- Auto Commit - Auk automatically commits changes to local Git
- Sync - Changes are pushed to remote repository
- Pull Updates - Team members’ changes are pulled automatically
- Conflict Detection - Conflicts are detected and resolved
Supported Git Services
- GitHub
- GitLab
- Gitee
- Self-Hosted
GitHub
- Public and private repositories
- OAuth authentication (coming soon)
- SSH and HTTPS support
- Organization repositories
Authentication Methods
SSH Keys (Recommended)
Most secure and convenient method:HTTPS with Token
Use personal access tokens:OAuth (Coming Soon)
One-click authentication with GitHub and GitLab.Sync Strategies
Automatic Sync
Auk can automatically sync at regular intervals:- Every 5 minutes - For active collaboration
- Every 15 minutes - Balanced approach (default)
- Every hour - For less frequent updates
- Manual only - Full control over when to sync
Manual Sync
Trigger sync manually when needed:- Before starting work (pull latest changes)
- After completing a feature (push your changes)
- Before switching workspaces
- When resolving conflicts
Conflict Resolution
When multiple team members edit the same collection:Branch Management
Use Git branches for different workflows:Feature Branches
Environment Branches
Team Branches
Best Practices
Commit Messages
Commit Messages
Auk generates descriptive commit messages automatically:
Sync Frequency
Sync Frequency
- Active collaboration: Sync every 5-15 minutes
- Solo work: Sync hourly or manually
- Before meetings: Always sync to get latest changes
Repository Structure
Repository Structure
Keep one repository per workspace for clean organization:
Sensitive Data
Sensitive Data
Never commit sensitive data:
- Use environment variables for secrets
- Add
.envfiles to.gitignore - Use Git secret scanning tools
Advantages Over Cloud Sync
| Feature | Cloud Sync | Git Sync |
|---|---|---|
| Data Control | Service provider | You |
| Privacy | Shared infrastructure | Your infrastructure |
| Version History | Limited | Complete Git history |
| Branching | Not available | Full Git branching |
| Offline Work | Limited | Full support |
| Cost | Subscription fees | Free (or your Git hosting) |
| Vendor Lock-in | Yes | No |
Next Steps
Setup Git Sync
Configure your first Git repository
Authentication
Set up SSH keys or access tokens
Auto Sync
Configure automatic synchronization
Conflict Resolution
Learn how to handle merge conflicts