GitHub for Beginners Who Don’t Code: A Case Study in Saving a Project with Claude

Daniel - Multidisciplinary Writer on Finance, Business & AI

A quick check of the coffee shop video template folder showed that 16 files had changed since the last save, including 12 new menu photos. Not a single one of them was on GitHub. Had the laptop died that day, the only copy left online would have been the old version with illustration images.

That small discovery is the most honest example of GitHub for beginners: the tool works, as long as we remember to use it. GitHub is an online service for storing a project folder together with its entire change history, so every older version can be viewed and restored. Git is the tool that records the versions; GitHub is where that record is kept on the internet.

This is not a from-scratch tutorial but a case study. The project is real, the video template from my experiment with AI promo videos for a small business, and every Git command was handled by Claude Code based on requests written in everyday language.

A pile of menu photos not yet synced to online storage, from a GitHub for beginners case study.

The Starting Point: A Template That Kept Changing

A stack of coffee shop video template revisions with photos, menu sheets, and voice recordings.

The need for GitHub shows up when a single project holds many interlinked files that get revised often with AI. The coffee shop template contains a menu spreadsheet, 12 photos, 12 narration audio files, and code written by Claude Code; one small mistake can make every video fail to render.

A confession first. Before I knew GitHub, my work folders were full of files named report_final, report_final_really, report_really_truly_final, and eventually report_grand_final. Just like a real tournament, the grand final turned out not to be the end: a few days later there was usually an extra round called report_grand_final_revised. The hard part was never naming them, but remembering a few weeks later which one was the true champion. Ha ha.

Google Drive does keep version history, but per file and without any messages. What a project like this needs, and the reason to learn GitHub as a beginner, is a history for an entire folder, complete with notes on “what changed and why”.

What Is GitHub, in Plain Language?

Git version history on a computer and its copy in GitHub online storage.

GitHub is a place to store projects built on Git, a free version control system created in 2005 by Linus Torvalds, the creator of Linux. According to the official Pro Git book, Git was born because the Linux developer community lost free access to the version control tool it had been using.

Picture a shop’s cash book and a bank vault. Git is the cash book that records every transaction; GitHub is the vault where a copy of that book is kept. The laptop may get lost, but the records stay safe.

For beginners, four terms are enough to get started:

  • Repository: a project folder whose history is recorded, either public or private.
  • Commit: a single save point with a short message, for example “Americano price goes up to Rp20,000”.
  • Push: sending save points from the laptop to GitHub. Until you push, everything lives only on the laptop.
  • .gitignore: a list of files deliberately left out of the record, such as files containing secret keys.

The table below compares a Google Drive folder and a GitHub repository on the needs that come up most often when working with AI.

NeedGoogle Drive folderGitHub repository
Seeing what changedPer file, no messagesWhole folder, with commit messages
Going back to an old versionOne file at a timeOne commit, all files at once
Worked on by Claude CodeMust be downloaded firstDirectly in the project folder

In short, Google Drive is still fine for ordinary documents and photos, while GitHub shines when you need the change history of an entire project folder. It costs nothing, too: according to GitHub’s official plans page, a personal GitHub Free account can have unlimited private repositories, although some advanced features are only in paid plans.

What I Tried: Saving the Template to a Private Repository with Claude Code

Video project files moving from a laptop to a private repository with help from an AI assistant.

Claude Code can set up Git, create a private repository, and upload a project from a single prompt, as long as GitHub CLI is installed and you have logged in once with the gh auth login command in Terminal. Before that, there are two small preparations that GitHub for beginners guides often skip.

First, turn on two-factor authentication for your GitHub account. GitHub itself, according to its security documentation, has required it since March 2023 for all users who contribute code. The reasons are covered in my article on two-step verification. While you are there, tick “Keep my email address private” so commits use the masked address ID+username@users.noreply.github.com, as described in GitHub’s email address guide.

Second, write the project rules in a CLAUDE.md file, which Claude Code reads in every session. In the coffee shop project, it includes:

- The project owner is not a programmer. Explain every step in simple Indonesian.
- Never read, display, or commit the contents of .env.
- Before committing, show a summary of the changes in plain language and wait for approval.

That last rule is the most important guardrail. The technical work can be handed over, but the decisions stay with a human, exactly the principle discussed in my article on what an AI agent is and how it differs from a chatbot.

After that, the saving prompt is just one:

This folder isn't connected to GitHub yet. Help me:
1. Initialize git in this folder and make sure .env, node_modules, and out/ are excluded (check .gitignore).
2. Create a PRIVATE repository called kedai-kopi-video on my GitHub account, then connect it.
3. Show me a plain-language summary of every file that will be committed, wait for my approval, then commit and push.
If I need to log in to GitHub or install GitHub CLI, show me how and wait for me.

What Happened: 326 Files, Three Commits, and One Slip

The test repository ended up recording 326 files, while the ElevenLabs key file (.env), the package folder (node_modules), and the rendered videos (out) were deliberately left out. Claude Code also scanned every file before uploading to make sure nothing looked like a secret key, then waited for approval.

The early history was tidy and readable without opening a single file (the commit messages are in Indonesian):

77e3149  Tambah komposisi GridPamer: 12 menu sinkron dalam grid 3x4
5058fa6  Uji 12 menu: narasi baru dan label di menu-12.csv
2595c85  PoC video promo menu kedai kopi dengan Remotion

Then came the slip from the opening. The menu photos were replaced, the videos re-rendered, but the command to save to GitHub was forgotten. Git does not work automatically; it only records when asked. The prompt later used to catch up:

Show me which files have changed since the last commit, in plain language.
Then create a commit with a message explaining the changes, and push to GitHub after I approve.

Claude Code then grouped those changes: 12 new menu photos at 1440×2560, a backup folder of old illustration images, two photo guide documents, and one line of code that had changed by accident. For each group, it suggested whether to include it or not, then waited for my answer. The old illustration folder was left out because its contents were already stored in earlier commits, and the stray line of code was restored to its original state. The result was one commit with 15 files: 12 photos, 2 guide documents moved into a docs folder, and an updated .gitignore. Claude Code wrote the commit message itself: “Ganti 12 foto menu ke versi 9:16 (1440×2560) dan tambah panduan foto” (replace the 12 menu photos with 9:16 versions and add a photo guide).

A private GitHub repository page showing the commit history of a coffee shop video template
Commit history of a private repository: the Americano price change and the Revert commit that undid it sit side by side.

The Revert Test: Undoing a Price Change

A return arrow linking two versions of an Americano price card to explain how revert works.

A revert is a way to return to an older version by creating a new commit that undoes a specific change, while the original commit stays in the record. According to GitHub’s official documentation, a revert is itself a commit, so the “undo” leaves its own trace and nothing is truly lost.

The test scenario was simple: raise the price of an Americano, save it to GitHub, then undo it. The undo prompt:

Show the change history of data/menu.csv with dates and messages.
I want to undo only the Americano price change. Explain first what will be undone, wait for my approval, then revert and push.

The whole test took three minutes. At 09:19, the Americano price in data/menu.csv went from 20000 to 22000 (Indonesian rupiah) and was saved with the message “Uji revert: harga Americano naik ke Rp22.000”. Interestingly, before sending it to GitHub, Claude Code pointed out two things that had not changed along with it: the Americano voice narration still said “twenty thousand rupiah”, and the menu-12.csv file still listed the old price. Git only records what we change; it has no idea that the price and the narration are supposed to match.

Once the undo prompt was sent, Claude Code showed the file’s history, pointed to the line that would go back from 22000 to 20000, and confirmed that no history would be deleted. After I replied “go ahead”, a new commit appeared at 09:21 named Revert “Uji revert: harga Americano naik ke Rp22.000”. The price was back to 20000, and the history now told the full story:

1bb5aa7  Revert "Uji revert: harga Americano naik ke Rp22.000"
6371a2d  Uji revert: harga Americano naik ke Rp22.000
eadee23  Ganti 12 foto menu ke versi 9:16 (1440x2560) dan tambah panduan foto
77e3149  Tambah komposisi GridPamer: 12 menu sinkron dalam grid 3x4

Anyone opening this repository can see that the price was raised and then rolled back, down to the minute. For a business whose prices change often, a trail like this is as valuable as the undo itself.

If you prefer buttons, the free GitHub Desktop app offers the same feature: open the History tab, right-click the commit you want to undo, and choose “Revert Changes in Commit”.

What Didn’t Go Smoothly the First Time

A user checking the connection between a laptop and online storage when a project upload fails.

Two hiccups came up when the project was first sent to GitHub, and each happened only once. The push was rejected at first because Git was not yet linked to the account that had just logged in; Claude Code fixed it on its own with the gh auth setup-git command. Then macOS blocked the GitHub CLI installer because it was downloaded straight from the internet, so it had to be allowed manually in Privacy & Security.

The forgotten photos turned out not to be the only slip. In the same project, the English YouTube video was uploaded without the segment showing the article and its copy-ready prompts, while the opening of the Indonesian version was still in vertical format with lots of empty space in the part that matters most. Both had to be edited, re-rendered, and uploaded again. The domino effect came afterwards: a new video means a new YouTube link, so the old video had to be deleted, the embed in the article replaced, and the reply with the link on X revised as well.

There are two lessons. First, check the final version carefully before publishing, because fixing things after they go live always costs more than checking beforehand. Second, save every finished stage to GitHub right away, instead of waiting to do it “all at once later”. That “all at once later” is exactly what left the 16 files in the opening without a backup.

What Should Never Go to GitHub

Keys and confidential documents kept in a locked drawer while project files are sent to online storage.

Three kinds of files should never go into GitHub: secret keys (API keys and passwords), customers’ personal data, and very large files; a private repository reduces the risk, but it is not the right place for any of the three.

Secret keys leak the most. GitGuardian’s State of Secrets Sprawl 2026 report found 28.65 million new secrets in public GitHub commits during 2025, or nearly 80,000 a day. The same report found that commits assisted by Claude Code leaked secrets at a rate of 3.2%, about twice the average for all public commits (1.5%), although GitGuardian cautions that the figure should not be read purely as a fault of the tool. The GitHub for beginners lesson when working with AI: Claude Code speeds up the work, but CLAUDE.md and .gitignore are still a must.

As for size, GitHub blocks files larger than 100 MiB. Rendered videos are better kept on the laptop or in Google Drive; GitHub only needs to store the “recipe”, meaning the data, photos, and code that can re-render the videos at any time.

Frequently Asked Questions about GitHub

Question bubbles with code, padlock, and laptop symbols connected to online storage.

Do you need to know how to code to use GitHub for beginners?

GitHub for beginners does not require coding skills, because Git commands can be handed to Claude Code in everyday language or run with buttons in GitHub Desktop. What you still need to understand are the basic concepts: repository, commit, push, and the files that must stay out. That knowledge is enough to check Claude Code’s summary before approving it.

Is a private repository on GitHub really safe?

A private repository on GitHub can only be seen by its owner and invited collaborators, but its security still depends on the owner’s account. If the password leaks and two-factor authentication is off, the contents are exposed too. That is why secret keys and customer data still do not belong there.

What should you do if a .env file was accidentally uploaded to GitHub?

A .env file accidentally uploaded to GitHub must be treated as leaked, so the keys inside need to be revoked and replaced right away at the original service, for example in the ElevenLabs dashboard. Deleting the file in the next commit is not enough, because the old history still holds it. Once the keys are replaced, ask Claude Code to add .env to .gitignore.

Can Claude read a GitHub repository without Claude Code?

Claude can read a GitHub repository without Claude Code through the “Add from GitHub” option in the message box, but only to ask questions about file contents. According to Claude’s GitHub integration documentation, this feature reads only file names and contents, does not see the commit history, and does not change anything. To edit files or make commits, you still need Claude Code.

What You Can Try This Week

A small project folder and a checklist for recording versions and saving them to a private repository.

Create a free GitHub account. Turn on two-factor authentication. Pick the one work folder you revise most often, write its rules in CLAUDE.md, then ask Claude Code to turn it into a private repository. After that, just one habit: every time a stage is done, ask for “commit and push”.

Back to the 16 files in the opening. The problem was not that GitHub lacked features, but one forgotten command. The essence of GitHub for beginners really is that simple: the tool keeps the record, and we have to remember to ask it to.

After this project, I’m confident recommending GitHub to non-programmers, especially small business owners and content creators who work with AI. There is one condition: the work should be a single folder with many files that get revised often. GitHub is most useful when those files are text, such as CSV, Markdown, or HTML, because Git can show exactly which lines changed, not just that “this file is different”.

In my view, the kinds of work that fit best include:

  • Small business owners who manage menus, prices, or product catalogs in CSV spreadsheets, so every price change leaves a trail.
  • Content creators who use video templates, scripts, and recurring narration, like the coffee shop template in this article.
  • Bloggers and writers who draft manuscripts, e-books, or articles in Markdown or HTML.
  • Students and researchers who revise theses, dissertations, or research data many times with their supervisors.
  • People who write SOPs, guides, or internal documents and need to know who changed what and when.

On the other hand, GitHub is overkill for a single document that many people edit at the same time (Google Docs is more practical) and for work that consists almost entirely of large raw photos or videos. For those, plain Google Drive is enough.

Which folder on your laptop most deserves to become your first repository, and what has been holding you back from trying it?

The illustrations in this article were created with the help of AI.

This post is also available in: Indonesia

Share This Article
Multidisciplinary Writer on Finance, Business & AI
Follow:
I’m Daniel, S.T., MBA, born and raised in Sumatra. I studied chemical engineering at Universitas Sriwijaya and earned my MBA cum laude from the School of Business and Management, Institut Teknologi Bandung (SBM-ITB). At danieel.id, I write about finance and company analysis, practical uses of AI for learning and work, as well as science, health, reflections on faith and life lessons, and everyday notes. Health articles here are for general education, drawn from trusted sources, and are not a substitute for advice from medical professionals.
Leave a Comment