GitHub workflow

Git tracks revisions, manages branches, and supports collaboration for web application code generated in Agentic Development Kit (ADK) projects. Your coding agent executes Git operations on your behalf, providing a safety net for all code modifications.

Note  Automatic Git initialization: When creating an ADK project, Git initializes automatically and creates an initial commit unless skipped with --no-git.

When you add an application using adk app add, the agent creates a dedicated commit containing only newly generated files, making app scaffolding easy to review or revert.

Note  Repository contents: vendor/ is committed to track the verified @adk/fmdapi library build. node_modules/ contains installed dependencies and is excluded from Git tracking. See Project folders and generated files.

FileMaker and Git collaboration models

In traditional FileMaker development, files reside on FileMaker Server. Developers modify a shared file directly, and changes apply immediately with no built-in version history.

Two developers and two app users connect directly to the same hosted FileMaker file, where edits are immediately shared

In code projects, each developer maintains an independent local repository. Developers commit revisions locally and synchronize changes through a hosted repository service such as GitHub.

Each developer edits and commits in a complete local repository, then pushes changes to and pulls updates from a shared GitHub repository

Core Git concepts

  • Repository (repo): The project folder tracked by Git, existing locally on your computer and remotely on GitHub.

  • Commit: A recorded snapshot of staged changes accompanied by a descriptive message.

  • Push: Uploads local commits to a remote GitHub repository.

  • Pull: Downloads remote commits from GitHub and merges them into your local workspace.

  • Branch: An isolated line of development for building features or testing fixes.

  • Merge: Combines changes from one branch into another branch (such as main).

  • Pull request (PR): A proposed code merge reviewed by teammates before integration.

  • Conflict: A state occurring when concurrent commits modify identical lines in a file, requiring manual resolution.

Agent-assisted Git operations

You can direct your coding agent to perform Git operations using natural language:

Copy
Commit my current changes with a clear message.
Copy
Create a new branch called fix-customer-list and switch to it.
Copy
Push my work to GitHub.
Copy
What's the difference between my local copy and what's on GitHub?

Publish to GitHub

To publish a project repository to GitHub:

  1. Create a GitHub account: Sign up for a free account at github.com.

  2. Install and authenticate the GitHub CLI: Install gh from cli.github.com and authenticate in your terminal:

    Copy
    gh auth login
  3. Prompt your agent to publish: Direct your agent to create the remote repository and push your project:

    Copy
    Publish this project to a new GitHub repo on my account.