# GitHub

> Ask Italic about your code, issues and pull requests, and have it draft issues, commits and pull requests for you.

<Callout type="warn">Not available yet: GitHub is being tested and isn't open to customers yet. It isn't on the iPhone yet.</Callout>

With GitHub connected, you can ask about the repositories your GitHub account
can reach and have Italic draft issues, comments, branches, commits and pull
requests. Italic acts as your GitHub account, so it sees only what you can.

## Connect GitHub [#connect-github]

In **Connectors** on the web or the Mac, choose **GitHub**, then **Connect
GitHub**. Sign in to GitHub and approve Italic. The account is listed by your
GitHub username. Choose **Connect another account** to add another one.

If your organization restricts OAuth apps, an owner approves Italic the first
time someone in it connects.

## What Italic can do [#what-italic-can-do]

- Find repositories, and read their files, branches, commits and releases.
- Search code, issues and pull requests, and read a pull request's diff,
  reviews and checks.
- Create and update issues, and comment on issues and pull requests.
- Create branches, commit files and open or update pull requests.

Try "Which pull requests are waiting for my review?", "Open an issue in
ShopItalic/app about the broken export button" or "What changed in the last
five commits to main?"

Reading runs right away. With **Ask every time**, each change is a draft you
approve, and a commit's draft shows every file it writes. Nothing changes on
GitHub until you approve it.

## What Italic can't do [#what-italic-cant-do]

Italic can't delete repositories or change their settings, and it can't see
repositories your GitHub account can't. Merging pull requests starts off; turn
it on in GitHub's tools if you want Italic to merge.

## Permission [#permission]

GitHub's permission is **Ask every time** (the default), **Allow without
asking** or **Off**. Allow asks you to confirm first: Italic would then
commit, comment and open pull requests as soon as it writes them.

## Remove an account [#remove-an-account]

Choose **Remove** beside an account. Italic forgets its access right away. To
revoke the grant on GitHub too, open **GitHub → Settings → Applications →
Authorized OAuth Apps** and revoke **Italic**.

