> For the complete documentation index, see [llms.txt](https://docs.iowacityrobotics.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iowacityrobotics.org/programming/version-control/git/how-to-use-git-option-2-use-github-desktop.md).

# How to use Git (Option 2): Use GitHub Desktop

GitHub Desktop is a piece of software that puts all the functionality of git in a nice graphical user interface, and does all the hard parts of typing in commands for us.

### Installing GitHub Desktop

On a Windows, MacOS, or Linux computer, (Sorry but no Chromebooks) go to [the official page for GitHub Desktop](https://desktop.github.com/), and click on the big purple Download button. From there, open the installer and follow the installer's directions. Once you have it installed, log into your GitHub account.

### Getting a Repository

Projects in git are managed using what are called repository, (repos for short) and repos are where all the files and changes are tracked. You can get a repo from 2 ways:

1. Cloning an existing repo
2. Making a new repo

If your team already has an existing repo for your robot code, clone a repo. Click on File -> Clone Repository, and select the repo that you want. If you don't see it, ask to be added to your team's GitHub organization.

If you are making a new repo, click on File -> New Repository and select the folder in which you want to make the repo in.

### Using GitHub Desktop

The UI for GitHub Desktop looks something like this, once you clone a repository:

<figure><img src="/files/94kwnf24YbjOKKHZ8yKg" alt=""><figcaption><p>The user interface of GitHub Desktop.</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.iowacityrobotics.org/programming/version-control/git/how-to-use-git-option-2-use-github-desktop.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
