the short answer

Push44 leverages GitHub's low-level REST Git Data / Trees API (POST /repos/{owner}/{repo}/git/trees) to create atomic multi-file commits directly from your browser. It builds Git tree blobs, links parent commit SHAs, and updates branch heads in a single HTTPS payload without requiring a local Git installation.

📖 Introduction

Connecting your Base44 project directly to GitHub is the single most important step for professional software development. By pushing your codebase to GitHub, you unlock atomic version control, automated pull requests, issue tracking, CI/CD deployment pipelines, and multi-developer collaboration. Learn how to export and migrate your entire Base44 app to GitHub for free in under 60 seconds.

The Problem with Walled Gardens

Most AI app builders do not provide built-in Git integration on free plans, forcing developers to manually download ZIP files, unzip them, initialize local Git repositories, resolve merge conflicts, and push manually via command line — a tedious process that quickly falls out of sync.

The Push44 Solution

Push44 leverages GitHub's low-level REST Git Data / Trees API (POST /repos/{owner}/{repo}/git/trees) to create atomic multi-file commits directly from your browser. It builds Git tree blobs, links parent commit SHAs, and updates branch heads in a single HTTPS payload without requiring a local Git installation.

Step-by-Step Walkthrough

4 steps
1

Generate a GitHub Personal Access Token (PAT)

Go to GitHub Settings -> Developer Settings -> Personal Access Tokens -> Tokens (classic). Generate a token with the 'repo' scope (and 'workflow' if you use GitHub Actions).

💡 expert tip

You can also use Push44's OAuth login for instant one-click authentication.

2

Connect your GitHub account in Push44 Settings

In Push44 Settings (/settings), paste your token or authorize via OAuth. Push44 securely saves your token in browser localStorage.

3

Select your Base44 project & target repository

Choose whether you want Push44 to create a brand-new repository (public or private) or push a new commit to an existing repository branch (e.g. 'main' or 'base44-sync').

4

Trigger atomic push to GitHub

Click 'Push to GitHub'. Push44 calculates SHA-1 blobs for all modified files, constructs the tree, and commits the changes with a clean, descriptive commit message.

💡 expert tip

View your new repository on GitHub immediately by clicking the generated repository link.

Pro Recommendations

Set up branch protection rules on GitHub to prevent accidental force pushes to your 'main' branch.

Connect your GitHub repository to Vercel or Netlify for automated preview deployments on every push.

Use Push44 CLI ('p44 push') in GitHub Actions workflows for continuous automated backups.

Include a detailed README.md file in your repository root explaining your project architecture.

Common Pitfalls to Avoid

⚠️

Committing sensitive API secrets or private database keys directly to public GitHub repositories.

⚠️

Creating bloated Git repositories by accidentally committing temporary build artifacts or large raw video files.

⚠️

Overwriting existing repository files without checking the Push44 diff preview.

Frequently Asked Questions

Does Push44 support pushing to private GitHub repositories?

Yes. You have complete control to push to either public or private GitHub repositories.

Do I need to have Git installed on my computer?

No! Push44 interacts directly with GitHub's REST API, meaning you can push code from any phone, tablet, Chromebook, or PC without installing Git.

Can I push incremental updates as I continue editing in Base44?

Yes. Push44 automatically detects modified files and creates clean incremental Git commits tracking only your latest changes.

Is there any limit to the number of repositories I can create?

No. You can create and sync unlimited repositories on GitHub completely free of charge.

100% free · zero backend · client-side

Export and push your code in seconds.

Connect your platform, preview the visual diff, and create atomic commits on GitHub with zero server data retention.

Start exporting now → Learn more