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.
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.
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:
Commit my current changes with a clear message.
Create a new branch called fix-customer-list and switch to it.
Push my work to GitHub.
What's the difference between my local copy and what's on GitHub?
Publish to GitHub
To publish a project repository to GitHub:
-
Create a GitHub account: Sign up for a free account at github.com.
-
Install and authenticate the GitHub CLI: Install
ghfrom cli.github.com and authenticate in your terminal:Copygh auth login -
Prompt your agent to publish: Direct your agent to create the remote repository and push your project:
CopyPublish this project to a new GitHub repo on my account.
Related topics
-
Project folders and generated files—Understand workspace structure.
-
Preview and edit an app—Iterate and deploy web applications.