IAGITHUB WITHOUT FEAR3 MIN

GitHub without fear: four ideas every AI beginner should know

GitHub becomes manageable once repositories, commits, branches and pull requests make sense. Practise all four without installing anything.

Illustration of GitHub, a repository and its change history
Image: Imagen propia · INSERT FUTURE
01

Four words that explain GitHub

Opening GitHub for the first time can feel like walking into someone else's control room. Branches, requests and actions fill the screen, while every button seems to assume that you have been programming for years. You do not need that background to start using GitHub with AI.

This series begins with a safe practice space. Today you will create it. The next instalment will connect that space to ChatGPT, and a later guide will show you how an AI agent can suggest edits without quietly taking over the working version of your project.

A repository is a project folder stored on GitHub. It can contain software, but it can just as easily hold articles, images, research notes or any other files. Our practice repository needs only a `README.md`, the introductory document GitHub displays on its front page.

Unlike an ordinary folder, a repository remembers its history. You can inspect earlier versions, compare what changed and return to a previous state. That history matters when AI joins the workflow because a questionable edit remains visible. You are reviewing evidence, not trusting a chatbot's confidence.

A commit is a saved snapshot accompanied by a short note. “Add project introduction” will help you later. “Stuff” probably will not. The note should explain what changed well enough for your future self to recognize that point in the history.

A branch is a separate workspace that leaves the main version, usually called `main`, untouched. An AI agent can edit a branch while the working project stays as it was. You can keep a useful result or throw away a failed attempt without untangling the two.

A pull request, often shortened to PR, is where that proposed work is reviewed. It shows which lines were added or removed and gives you a place to discuss them before merging anything into `main`. The name sounds stranger than the job. Think propose, inspect, accept.

The whole route is repository, branch, commit and pull request. GitHub offers far more, but those four ideas are enough to understand the rest of this series and to see what an AI coding agent is doing to your files.

Editing a README and creating a commit inside GitHub
Image: Imagen propia · INSERT FUTURE
02

Create your first repository

Sign in to GitHub and choose New repository. Give it an obvious name such as `ai-practice`, choose Private, tick Add a README file, then select Create repository.

That is your safe workspace. You have not launched a website or connected an AI. Open `README.md`, select the pencil icon, add two lines describing the folder and choose Commit changes. A useful message would be “Explain the purpose of this repository”.

GitHub's own beginner tutorial confirms that this browser exercise requires no coding, Git installation or command line. If you want the AI half demystified too, our guide to how ChatGPT works provides the missing context. We also have a plain-English explanation of what AI agents are and how they act.

Next time, you will connect this single practice repository to ChatGPT with read-only access. The AI will be able to find and explain files, while your content remains out of reach of its editing tools.

Private GitHub repository with the main branch and README file visible
Image: Imagen propia · INSERT FUTURE
00

The conversation starts here

Sign in with a supporter account to comment. Sign in

Nobody has commented yet. Want to go first?

YOUR NEXT ROUTE

Keep following AI models and agents

If this story interests you, these three pieces are the best place to carry on.

OPEN THE FULL TOPIC
  1. 01Grok's agents are no longer a $300-a-month thing: what they are and what they do when you look awayIA · 4 MIN
  2. 02Google gives students a free year of Gemini, but only the US gets AI Pro freeIA · 5 MIN
  3. 03Gemini 3.7 Flash arrives smarter and at half the priceIA · 3 MIN

KEEP READING

You may also like

FRONT PAGE