# The PreTeXt Guide

## Section2.1Using GitHub and Codespaces

### Subsection2.1.1GitHub

GitHub is a freely-available service for authoring, sharing, and deploying documents and source code, owned by Microsoft. It uses the free and open-source Git software for version management.
There are other services such as CoCalc 1  (see Section 5.14) and GitLab 2  for managing PreTeXt documents online, as well as other ways to write PreTeXt that don't require anything besides installing the free and open-source PreTeXt software onto your own device (see Section 2.4 to learn more).
We will use GitHub's service for this tutorial as it the most popular way to share and disseminate PreTeXt documents, and provides the easiest pathway to getting started writing in the PreTeXt language.
Apply at Education.GitHub.com 4  to unlock these features (in our experience, applications are usually processed quickly for .edu email addresses).
Follow the instructions at https://github.com/PreTeXtBook/pretext-codespace to get started. You'll have the option to make your work public (recommended if you want support from the rest of the PreTeXt community) or private.
Either way, this is a one-time process. Take note of the URL your new repository lives at (something like https://github.com/user-name/repository-name) so you can find it the next time you want to work on your project. Then you'll be ready for Section 2.2.
cocalc.com
about.gitlab.com/
github.com/signup
education.github.com/discount_requests/pack_application