> ## Documentation Index
> Fetch the complete documentation index at: https://docs.compyle.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub 101

<Card title="GitHub" icon="github" color="#181717" horizontal>
  Learn how Compyle integrates with GitHub to manage and track your project’s code.
</Card>

## What is GitHub?

**GitHub** is a cloud-based platform built on top of Git, designed for version control and team collaboration.\
It provides a central place to store your project’s code, track every change, and coordinate development across contributors.

***

## Core GitHub Concepts

* **Repository (Repo):** A repository is where your project’s code and its entire version history are stored. Repositories can be either **public** or **private**.

* **Branch:** A branch represents a parallel version of your codebase. You can use branches to build new features or test changes without affecting the main project.

* **Commit:** A commit captures a snapshot of your work at a specific moment. It records what changed, when it changed, and who made the change — allowing you to revert or compare versions easily.

* **Pull Request (PR):** A pull request is how you propose changes from one branch to another. It enables discussion, review, and approval before merging updates into the main branch.

* **Merge:** Merging integrates the changes from one branch into another — most often combining a feature branch into `main` after review.

***

## How Compyle Uses GitHub

Compyle connects directly with your GitHub repositories to streamline development and maintain version control automatically.

* When you generate or modify code in Compyle, it can **create branches** for each change or task.
* Compyle also **opens pull requests** for you, making it simple to review, test, and merge updates into your main branch.
* This workflow ensures that all Compyle-generated code stays **transparent, reviewable, and fully under your control**.

<Callout type="info" icon="code-branch" color="#3B82F6">
  Every code change Compyle makes is fully traceable through GitHub — helping you maintain a clean history and collaborate safely with your team.
</Callout>

***

## Learn More

If you’re new to GitHub or want to go deeper, check out the official [GitHub Documentation](https://docs.github.com/en).
