Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

156 linesCodeBlameRaw
1---
2title: Quickstart
3description: Sign up, push a repository, open a work item, and have your own coding agent open a pull request that you merge. Then bring your team into Chat.
4---
5
6import { Steps, Tabs, TabItem } from '@astrojs/starlight/components';
7import Aside from '../../components/Aside.astro';
8import AgentSetup from '../../components/AgentSetup.astro';
9
10This page takes you from sign-up to a pull request your coding agent
11opened and you merged. It takes a few minutes.
12
13<Aside type="tip" title="Let an assistant do it">
14Give your AI assistant [g1t.sh/llms.txt](https://g1t.sh/llms.txt) and ask it
15to set you up. It gives you a link to open in your browser, where you sign up
16and approve it. It never sees your password.
17</Aside>
18
19<Steps>
20
211. **Sign up**
22
23 [Sign up](https://g1t.sh/register) with an email address and a
24 password, or with GitHub. Anyone can; no invite is needed. Confirm your
25 email with the code g1t sends (or the link in the same email).
26
27 Your account comes with a **workspace** of its own, named after your
28 username. It holds your repositories and your channels. See
29 [workspaces](/guides/workspaces/).
30
312. **Install the CLI and sign in**
32
33 <Tabs syncKey="os">
34 <TabItem label="macOS and Linux">
35 ```sh
36 curl -fsSL https://g1t.sh/install | sh
37 ```
38 </TabItem>
39 <TabItem label="Windows">
40 ```powershell
41 irm https://g1t.sh/install.ps1 | iex
42 ```
43 </TabItem>
44 </Tabs>
45
46 ```sh
47 g1t auth login --git
48 ```
49
50 `g1t` shows a code and opens your browser: check the code and approve.
51 `--git` also sets git up to use the same sign-in for `g1t.sh`, so
52 `git push` asks for nothing. `g1t auth status` shows who you are signed
53 in as. See [the g1t CLI](/guides/cli/).
54
55 <Aside title="Without the CLI">
56 Git and the API also take an [access token](/guides/authentication/#access-tokens):
57 create one in [Settings → Access tokens](https://g1t.sh/settings/tokens),
58 and give it to git as the password, with your username.
59 </Aside>
60
613. **Push a repository**
62
63 From a git repository with at least one commit:
64
65 ```sh
66 g1t repo create my-project --source . --remote g1t
67 ```
68
69 This makes `<workspace>/my-project`, private, adds it as the remote
70 `g1t` and pushes. Plain git works too: pushing to a repository that does
71 not exist creates it, private.
72
73 ```sh
74 git remote add g1t https://g1t.sh/<workspace>/my-project.git
75 git push -u g1t main
76 ```
77
78 **New** in the site's header makes one empty, or imports one from
79 GitHub or any git host by its address.
80
81 <Aside title="Coming from GitHub?">
82 Rename `.github` to `.g1t` before you push, and your GitHub Actions
83 workflows run on g1t, most without changes. Workflows are compute: on a
84 free workspace, an owner checks a card once under **Settings → Billing
85 and plans** to start a $5 trial, which is never charged for the check.
86 See [GitHub Actions](/guides/actions/),
87 [No card, no compute](/guides/usage-and-billing/#no-card-no-compute) and
88 [what is not supported yet](/about/limitations/#actions-and-runners).
89 </Aside>
90
914. **Open a work item**
92
93 On **Work**, in the left rail, choose **New work item** and pick the
94 repository as its target, or:
95
96 ```sh
97 g1t work new --title "Greeting should name the caller" --body "Take a name from the first argument."
98 ```
99
100 A [work item](/guides/work-items/) belongs to the workspace; opened
101 from the repository, it has the repository as its origin.
102
103 Say what is wrong or wanted, and what done means if you know it. Your
104 agent works from this text.
105
1065. **Connect your coding agent**
107
108 This exercise needs a coding client with local git and shell access. Chat apps
109 can inspect and discuss the project through MCP without a local checkout.
110
111 <AgentSetup />
112
113 Approve in your browser when it asks. Then ask:
114
115 > Work on work item 1 of the `<workspace>` workspace on g1t, in
116 > `<workspace>/my-project`. Open a pull request for it and record your
117 > session as you go.
118
119 It opens a pull request, pushes its change, and your
120 workflows run on it as on anyone's. See
121 [Connect an AI client](/guides/bring-your-own-agent/).
122
123 <Aside title="Or assign it to g1t">
124 With an Anthropic key under the workspace's [**AI**](/guides/ai/)
125 settings, **Assign to g1t** in the work item's sidebar starts a session
126 on that account, as you, and its card shows in the work item's
127 conversation.
128 See [Assign g1t](/guides/sessions/#assign-g1t-or-ask-it-in-the-thread).
129 </Aside>
130
1316. **Review and merge**
132
133 Open the pull request. **Files changed** shows what it did, and
134 **Session** shows how: its prompts, reasoning and tool calls. Choose
135 **Merge**, or turn on **auto-merge** to have it land once its required
136 checks pass. The work item closes, recording which pull request landed
137 it.
138
139</Steps>
140
141## Bring your team
142
143Choose **Chat** in the rail. Every workspace starts with `#general`, and
144Chat is free on every plan. Adding people to a workspace comes with
145[the g1t plan](/guides/usage-and-billing/#the-g1t-plan); on a free one,
146[invite a friend](/guides/authentication/#invite-a-friend) to g1t instead,
147or open a [public channel](/guides/chat/#public-channels) that anyone signed in to g1t can join. See
148[Chat](/guides/chat/).
149
150## Next
151
152- [Build and ship an app with an agent](/guides/build-and-ship/): from an empty folder to a deployed app.
153- [How g1t works](/concepts/overview/): work items, pull requests, checks, review and merging.
154- [Connect an AI client](/guides/bring-your-own-agent/): access, repository instructions and recording sessions.
155- [GitHub Actions](/guides/actions/): your workflows, most unchanged.
156- [MCP tools](/reference/mcp/) and the [API](/reference/api/): everything above, from code.