How It Works
- Write code in the Xano UI or in your IDE with the XanoScript VS Code extension.
- Sync to Xano β all changes flow through Xano first.
- Push to Git β Xano can export your latest code to GitHub or GitLab.
Benefits of Git Sync
π Version Control
Every sync creates a new commit in your Git repo. Track the history of changes and roll back when needed.π§° Collaboration
Use branches, pull requests, and code reviews. Non-Xano teammates can review and contribute using familiar Git tools.βοΈ Backup & Transparency
Keep a secure, versioned copy of your code outside of Xano for disaster recovery, compliance, or auditing.π Automation & Integration
Plug your XanoScript into CI/CD pipelines, linters, and security scanners. Git sync bridges Xano into your existing engineering ecosystem.What Git Sync Is Not
β Git sync is not a way to deploy code into Xano.
β You cannot push changes from GitHub/GitLab into Xano.
β All changes must flow through Xanoβeither via the UI or the XanoScript VS Code extension.
Example Workflow
- Jamie edits an API function in VS Code using the XanoScript extension.
- The changes sync directly to Xano.
- From Xano, Jamie pushes the latest code to GitHub.
- The team reviews the diff in GitHub, merges a pull request, and maintains a clean version history.
Using Git Sync in Xano
1
From your workspace dashboard, click the gear icon in the top-right corner, and choose Git Sync.

2
In GitHub, create a new repository if you haven't already.
3
In Xano's Git Sync menu, provide the URL of your GitHub repository.

1
Have a private repository or want to use SSH? Click the 'Generate Key' option.

2
In GitHub, head to your repository settings and add the SSH key you generated in Xano.

FAQ
Why canβt I push changes from GitHub into Xano?Xano treats itself as the single source of truth for XanoScript.
Pulling code from Git would create conflicts, dependencies, and merge issues. Instead, use the XanoScript VS Code extension to push changes directly to Xano. Git is your mirror for history, backup, and collaboration.