Back to blog

2026-10-04 · 5 min read

How to Practise Git Version Control as a Beginner

Learn Git through a small local project by making focused changes, reviewing differences and restoring work deliberately.

Start with a disposable local folder

Create a small practice folder containing a short text file or simple code project. Use material you can replace, and keep private or sensitive information out of the repository.

Initialise version control only inside that folder. Before every command, check the current directory so the exercise does not affect unrelated work.

Make one meaningful change at a time

Edit one idea, inspect the difference and stage only the files that belong together. A focused change makes the history easier to read and helps you understand what each command did.

Write a short commit message describing the purpose of the change. The aim is to practise a repeatable workflow, not to produce a large number of commits.

Read status and differences before acting

Use the status and diff views to identify modified, staged and untracked files. Predict the output before running the command, then compare the result with your expectation.

Treat unfamiliar destructive commands cautiously. Consult the current official Git documentation and practise recovery only in the disposable folder.

Practise a simple branch safely

Create a branch for one small change, commit it and compare it with the main branch. This demonstrates how parallel work is separated without requiring a public repository.

When combining the change, read any conflict markers carefully and verify the final file. Do not accept a resolution you do not understand.

Turn the exercise into portfolio evidence

Add a concise README describing the goal, commands practised, mistakes corrected and what you would try next. Remove secrets, personal data and copied material before sharing anything publicly.

A practice repository demonstrates your learning process; it does not guarantee employment or validate professional competence. Continue with progressively larger projects and seek review where possible.

Frequently asked questions

Do I need a public hosting account to start? No; local practice is enough for the first exercise.

Should I memorise every command? Focus on understanding status, differences and safe recovery.

Does completing one exercise make me job-ready? No. It is one building block in a wider learning path.

Build your learning plan

Explore iTechScale courses and choose the subject that matches your career direction.

Explore iTechScale