# One user

The first workflow, and the most common for beginners, is a single person working on the repo

For this lesson create a folder for your first repo myFirstRepo and go inside it:

$ mkdir myFirstRepo
$ cd myFirstRepo

To start a new repository run the next command inside myFirstRepo:

$ gt init

This command will create a local repository in your machine and a remote one on your github account and link them. You can think of the github repo as a backup accessible from the web. It also allows you to share your project and collaborate with others.

You'll be prompted for your github credentials and a name for your new repository. If you don't have an account you can sign up here.

A repo should only contain one project inside it, and you really shouldn’t nest a repo inside another repo.

Your repository is created with a README.md markdown file by default. Here you can write a summary of what your project is about. You can learn more about markdown here.

Now, you can save checkpoints of all the files within myFirstRepo folder. To try it out, create a new text file inside myFirstRepo.

On windows:

$ type nul > myFile.txt

On macOS/linux:

$ touch myFile.txt

And create a new checkpoint:

$ gt save

You'll be prompted for a message that describes the changes that appear on this particular checkpoint. Now all the changes will be saved on your local and remote repository on github.

# Summary

  1. Create new repo (gt init)
  2. Work on your project
  3. Create checkpoint to save your changes (gt save) and go to step 2

That's it!