Skip to content

Connect GitHub

Connect a repository and an Agent can git clone and git fetch it on its Computer. That works for private repositories too. You connect one repository to one Computer at a time.

Your GitHub credential never goes into the Computer. Fungi holds it and uses it only when the Computer asks GitHub for that repository.

  1. In your Team, open Connections.

  2. Under GitHub, pick the Computer that should get the repository. Each Agent has its own Computer. New Computers get a generated name, so if you have several, pick the one attached to the Agent you’ll ask.

  3. Type the Repository as owner/name, for example octocat/hello-world.

  4. Choose Connect GitHub. A GitHub window opens. Install or authorize the Fungi GitHub App there and give it access to that repository. Come back to Fungi and the page updates by itself.

The Connections page with a GitHub card and one connected repository marked Read-only, clone and fetch.
A connected repository shows up under Connected repositories.

Talk to the Agent that owns that Computer:

Clone https://github.com/octocat/hello-world and tell me what's in the README.

Use the https://github.com/... address. SSH addresses like git@github.com:... don’t work from a Computer.

  • git clone and git fetch of that repository, on that Computer.
  • Nothing else. The Agent can’t push, open pull requests or reach other repositories through it. Pushing is on the Coming soon list.

To remove access, choose Disconnect next to the repository and confirm.