Skip to content
AltZTraining for Every AltZ Venture
What Is Version Control
beginner8 min

Beyond Code, and Working With AI

What else is worth keeping under version control, the one thing to keep out, five habits for working with AI assistants, and what to learn next.

Version control was built for software, but nothing in the last six lessons was about code. Snapshots, messages, side lines and full copies work for anything you change over time and might want back.

What's worth keeping under version control

It fits best for work that lives in plain text and changes often:

  • Prompts and prompt libraries. A prompt that worked last month and doesn't today is exactly the "what changed?" question from lesson 1.
  • Documentation, procedures and policies. The messages record why a rule changed, which is usually the first thing anyone asks.
  • Website and course content. This course is kept in version control. Every edit to these lessons is a save with a message.
  • Settings and configuration files. When something stops working, the diff of the settings is often the fastest answer.
  • Small data files, such as CSV exports you edit or clean by hand.

It works, but less well, for large media: video, big image libraries, recordings. They can be saved and restored, but they can't be diffed, and every version takes its full size. Teams that version lots of media usually add specialized storage for it.

The one thing to keep out: secrets

A version control system's best feature is that it never forgets. That's exactly why passwords, API keys and tokens must never go into it.

A secret saved once stays in that save forever, in every full copy anyone has made, even if you delete it in the very next save. Deleting it from the latest version doesn't remove it from the history.

Version control tools let you list files to leave out of every save, which is how teams keep secret files out from the start. Git 101 shows how.

Five habits for working with AI assistants

AI assistants that edit your files are the reason this course exists. These five habits pull the whole course together:

  1. Save before you ask. A save point right before an AI task means the worst case is "go back one save", whatever happens.
  2. Give each task its own side line. If the result is wrong, delete the side line. Your working version never saw it.
  3. Read the diff before you keep it. It shows everything the assistant changed, including what you didn't ask for.
  4. Make sure the message says why. The assistant can describe what it did. Only you know why you asked.
  5. Keep secrets out. Don't paste keys into files an assistant will save, and check its diffs for anything that looks like one.

The four questions, answered

Lesson 1 started with four questions that a folder of renamed copies can't answer. Here is what answers each one now:

QuestionWhat answers it
Which one works?The main line, kept working by side lines and review
What changed?The diff between any two saves
Who changed it, and why?The author and message saved with every change
How do I get back?Any save, restored whole, by its ID

Try it: back to lesson 2

In lesson 2, the interview prompt told you which of those four questions your current habits can answer. Find that answer, and paste it into Claude, Gemini, or ChatGPT with this prompt:

Earlier I described how I keep versions of my work, and you told me which of
these questions my habits can and can't answer: which version works, what
changed, who changed it and why, and how to get back. Here is that answer:

[paste the earlier answer]

For each question my habits can't answer, tell me which version control idea
would close the gap: snapshots, messages, side lines, full copies, or review.
Then suggest one small first step I could take this week. Keep it plain, with
no commands.

If you don't have the earlier answer, describe your current habits in a few sentences instead.

What to learn next

You now know what version control is and why it matters. The next step is doing it with a real tool:

  • Git 101 turns each idea in this course into git: saving, going back, branching and sharing, shown live. It's free.
  • Git with Claude Code is for people who let an AI assistant do the typing: what to watch, what to allow, and how to keep its work safe.

Everything in those courses builds on the four questions. When a command looks strange, ask which question it answers.