Codex course

Module 11 of 14

Save Your Project with GitHub

Time: about 10 minutes

Video lesson: about 5 minutes, followed by the written steps below.

Difficulty: Beginner

No programming experience needed.

Why this matters

Saving your work online gives you a second copy of the project. It is a simple safety net: if something happens to your computer, or you want to continue later, your project is easier to find again.

Before Module 11: How Codex Works with GitHub and Cloudflare

GitHub is an online home for your project files. Cloudflare Pages is a service that can put a website online. Codex can often create files, check the project, prepare a GitHub change, or prepare a Cloudflare deployment for you. Depending on your account and settings, it may also complete some of these actions automatically.

Codex may ask for approval before it changes files, creates an online project, saves work to GitHub, or publishes a website. That is normal. Read the approval message, make sure it matches what you asked for, and approve only when you are comfortable. You may still need to sign in, choose an account, or buy a domain yourself.

After Codex finishes, you confirm the result: open the GitHub project, open the website link, or check that the domain opens your site. Codex helps with the work; you remain the person who decides that it is correct.

What you'll learn

  • How to ask Codex to save your project in GitHub.
  • How to check that your project files are safely stored online.

Step-by-step instructions

  1. In your Codex task, type this message and press Return:
Codex message

Please save my my-task-list project to GitHub. First, check what you can do automatically in my current setup. Explain anything you need me to do, such as signing in or approving a change. Do not make the project public unless I approve it.

  1. Read Codex's response. If it asks you to sign in to GitHub, follow the sign-in window and then return to Codex.
  2. If Codex asks whether to create a new GitHub project, read the project name and privacy choice. Choose private unless you specifically want your project files to be public.
  3. When Codex says the save is complete, ask:
Codex message

Please give me the GitHub link for my project and tell me exactly how to check that my files were saved.

  1. Open the link. Look for your project name and the files Codex created.

How to check it worked: The GitHub page opens, shows your project name, and contains files for your task-list website.

If something doesn't work

Codex message

I want to save my project to GitHub, but I am stuck at [describe what you see]. Please explain the next single step in plain English. Do not change anything else.

What just happened?

Codex prepared a saved history of your project in GitHub. This means your work is stored online as well as on your computer, so it is easier to recover later or continue on another computer.

GitHub may show a list of files and saved changes. You do not need to understand every file. For this course, the important check is that your project is there and that its name is correct.

By the end of this lesson

  • You will know what Codex can do automatically in your GitHub setup.
  • You will have approved only the actions you understand.
  • You will be able to open the GitHub link for your project.

Module checklist

  • Codex has explained what it could do automatically.
  • You have approved only actions you understand.
  • You can open the GitHub link for your project.

Next module: You will ask Codex to publish your saved website with Cloudflare Pages.