Version control is a system that records the state of your code over time, so you can see what changed and go back to any earlier point. It has a reputation for complexity earned honestly, and the beginner case for it needs almost none of that complexity.
Why does a beginner need it?
To recover a working version. The characteristic beginner afternoon involves a script that worked at two o'clock and does not at five, with no way back because every change overwrote the last.
That single problem is what version control solves, and it is worth adopting for that reason alone.
What does it actually do?
You periodically record a snapshot with a short note. Each snapshot is kept, so you can see what changed between any two and restore any earlier state. Nothing is lost, including the version from before you decided to rewrite everything.
How much do you need to learn?
Four operations, at first. Setting up a repository in your project folder, recording a snapshot, seeing what has changed since the last one, and going back to a previous state.
Branching, merging and everything that makes version control seem intimidating belongs to working with other people, which is later.
How often should you record a snapshot?
Whenever something works. That is the useful rule: a working state is worth being able to return to, and a broken one usually is not.
Write a note saying what changed rather than a note saying update, since the notes are what make the history usable later.
What about putting it online?
Optional and worth doing eventually. A remote copy gives you a backup and a way to share, and a public one becomes something to point at when applying for work.
It is a separate decision from using version control locally, and beginners frequently think the two are the same thing.
What must never go in?
- Passwords and keys. Which stay in the history even after deletion.
- Personal data. Anything about identifiable people.
- Large data files. Which bloat the repository permanently.
- Anything confidential. Particularly on a public repository.
The first is the one that causes real problems, since removing a key from a repository properly is genuinely awkward and the correct response is to change the key.
Is the crude alternative acceptable?
For the first few weeks, yes. Copying the folder with the date in the name before making substantial changes achieves the core benefit, and it stops scaling almost immediately.
When should you switch?
When you have lost work once, which is the moment everybody actually adopts it. Learning the four operations takes an hour, and it is the last time that particular afternoon happens.