Skip to main content

Overview

The Git Browser provides a repository workspace directly inside Genesis. It supports browsing repository trees, previewing folder contents in a sortable grid, searching file paths and contents, creating files and folders, editing content, and exporting Markdown or repository archives. Genesis also uses Git Browser as the editor for editable skill packages opened from the shared skills catalog. Imported skills and self-added skills both use the managed agent_skills Git repository for that flow, while skills that ship with Genesis stay read-only. When the Launchpad setup checklist is enabled and you have not yet completed the git_connection item, Genesis shows a small connect banner above the workspace with a link to Config → Connections. The banner is non-blocking — you can use Git Browser normally while the item is open. If you navigate away while a folder or file is opening, or while a rename is finishing, a late response will not take you back to Git Browser. Actual Genesis Git Browser showing repository folders and Git workspace actions.

Main workspace areas

Home and repository list

The sidebar’s User spaces section lists your own repositories and branches above All repositories. A branch shows the conversation it came from, when it was last used, and—when readable—its unpushed commits and uncommitted files. Select a repository’s default branch or one of your branches to open it in the same file browser; the repository list follows without a divider. A /git/<repo> link opens directly on that repository. A link to a folder opens that folder; if it contains files, Git Browser opens its main entry file or the first file, and if it contains only folders the folder itself stays selected. Administrators can expand Users to see the repository and branch names in other people’s homes. Their chats, thread titles, and branch status are not shown; the list is read-only and fetched only when Users is opened. The list indicates when the returned set has been truncated.

Key workflows

See the Git policy.

Create or clone a repository

Use New Repo to create a workspace from scratch, or Clone Git Repo to bring an existing remote repository into Genesis. For repository initialization details beyond this workflow, see Git Action Tools. The clone flow lists every enabled Git and code connection for GitHub and GitLab (for example github.my-org or gitlab.my-conn). Genesis uses the default connection when one is set; you can pick another from the list or type a connection reference. Use Add new connection in Config > Connections > Git & Code when you need to create credentials first. After you choose a connection, Genesis loads accessible personal and organization repositories into a searchable list. Search for and select the repository to clone; the dialog does not accept a manually entered repository name. Genesis checks for the new repository 1.5 seconds after the clone starts, then refreshes clone status every 3 seconds while it runs. The tree indicates when a repository is incomplete and offers a delete action. Leaving Git Browser while a clone request is running does not send a second clone request after the original request returns. Before cloning, choose who can use the new repository. Shared and Personal are available scopes, along with Restricted, which gives selected roles view or edit access. The default follows the connection: Shared for a shared connection and Personal for a personal connection. A personal connection cannot create a Shared repository. Restricted grants start at View; choose Edit to let those roles also change the repository. Shared-scope grants in Manage Access are edit-only. If you choose Personal or Restricted with a shared connection, people who can use that connection but do not own or receive a grant for the repository cannot use it; the dialog warns about this. With git_worktrees.enabled on, a signed-in user’s remote copy is forced to Personal regardless of the selection so each person reads and edits through their own copy; see Git Action Tools for that mode. A shared remote clone has no personal owner, including for the person who cloned it first. Only an administrator can assign an owner, manage, or delete that shared clone. If you are not an administrator, leave its owner unset or clone a personal copy; an individual cloner cannot make the shared clone personal or remove it for everyone.
Bitbucket and Azure DevOps connections appear under Git and code, but the Git Browser clone dialog does not list them yet. Use agent git_action / connector tools to clone those repositories until clone support ships for those providers.

Control access

Repositories can be created with different access scopes, such as shared or personal use. After creation, access can be refined from the repository management actions. When you save a scope change in Manage Access, Restricted and Shared keep the repository’s existing role grants; Personal clears them. Use the role-grant controls to change access: Restricted supports View, Edit, and Manage, while Shared supports Edit grants only. See the RBAC practical guide for the shared-scope access rules. The repository tree shows a scope badge only after its stored access setting is known. Access unknown means Genesis could not read that setting; it does not mean the repository is Shared. Open Manage Access to check it. The badge is absent while repository metadata is still loading. Manage Access and Delete Repository are disabled when the server says you lack the repository’s manage right; write access alone does not grant either action. Own-item RBAC.

Search and edit content

Use the search tools to find specific files or text, then open the file in the editor to make updates. Search results stay grouped under each repository and preserve matching folder paths in the tree, with matching folders expanded automatically so you can open files in context. Markdown files can be previewed and exported to PDF where supported. When git_worktrees.enabled is true (default false), the shared source repository and conversation branches are read-only in Git Browser. To edit a remote repository, ask the agent in the conversation to start your branch with git_action(action="prepare_edit"); the agent makes and publishes changes from that conversation. You can name the branch you want in your request; Genesis uses it for the fresh branch when it is available. See Git Action Tools for branch-name handling and supported operations. Git Browser renders Markdown files with Mermaid diagrams, and renders standalone .mmd and .mermaid files as diagrams. Use the Source / Rendered toggle to switch between the file text and its preview. HTML files also have a rendered preview; it is sandboxed, and embedded Mermaid diagrams render locally (up to 50 diagrams per file). Supported video (.mp4, .m4v, .webm, .mov, .ogv) and audio (.mp3, .wav, .ogg, .oga, .opus, .m4a, .flac, .aac, .weba) files open in an in-browser media player instead of the text viewer. Markdown, Mermaid, and HTML previews load up to 1,500,000 bytes and 200,000 lines. If a file is truncated, Git Browser warns that the preview is incomplete and disables editing; truncated Markdown, Mermaid, and HTML files display as source instead of rendered content. For HTML or Mermaid preview errors, use Source to inspect the file text. When editing a long file, use the editor’s scrollbar or mouse wheel to move through the content; scrolling does not require keyboard navigation.

Review folder contents

Select a folder in the repository tree to open its contents in the main pane. The folder grid shows child folders and files as cards, includes created and updated timestamps when that metadata is available, and lets you sort entries by Name (A-Z), Name (Z-A), Created (newest), Created (oldest), Updated (newest), or Updated (oldest). Selecting a folder card drills into that folder. Selecting a file card opens the file in the viewer or editor. The browser shows a loading status until a folder listing returns. If the listing fails, use Retry; an empty-folder message appears only after a successful listing confirms there are no entries. During a content search, an expanded folder with no visible matches says Searching… until the search finishes; it reports no matches only after a successful search, and shows a failure state if the search fails.

Copy or move repository items

When a file is open, Copy copies the file contents to your system clipboard. Use Copy Item to copy the selected file or folder so you can paste it into another folder in the same repository browser. To move content instead of duplicating it, use the tree Cut action and then paste into the destination folder. Keyboard shortcuts such as Ctrl+C / Cmd+C, Ctrl+X / Cmd+X, and Ctrl+V / Cmd+V follow the current tree selection, including multi-select operations. If you highlight text in the file preview pane, Ctrl+C / Cmd+C and Ctrl+X / Cmd+X apply to that text selection instead of the current tree selection.

Create folders and files

The browser supports in-product file and folder creation, so teams can scaffold documentation, prompts, notes, or configuration without leaving Genesis.

Upload files and folders

Users with the manage_git permission can upload files into a writable repository folder. Select Upload from the folder actions to choose files, or select Upload folder to choose a local folder and preserve its relative file paths. You can also drag files or folders from your desktop onto a repository folder in the tree or folder grid. Genesis does not store empty folders, so a dropped folder must contain at least one file. Uploads are processed as one batch. If a destination already contains a file, choose Replace, Keep both, or Skip this file in the upload status panel; unresolved conflicts must be decided before the batch can be retried. Genesis allows only one upload batch at a time and refreshes the target folder after files are saved. For a managed repository, uploads must target your working copy. Genesis commits successful uploads to that copy in one commit; the default checkout changes only after you merge the copy. For other writable repositories, uploads change the working tree and you must commit those changes explicitly. The ⋯ menu on a folder or file card offers the same actions as its tree context menu; right-click a card to open that menu at the pointer. Actions you cannot take are disabled and explain why. For remote-managed repositories, switch to your working copy to edit; if you do not have one, create a working copy first.

Customer-facing uses

  • work with mission repositories,
  • stage documentation or prompt assets,
  • review generated files,
  • export repository deliverables for handoff.