Frontend Developer Roadmap
Step 8 / 1890 min

Git

Version Control

Explanation

Git records project history so you can branch, commit, merge, and recover previous versions safely.

Code example

bash
git init
git add .
git commit -m "Initial commit"
git branch feature/hero
git checkout feature/hero
git status
git log --oneline

Exercise

Initialize a repo, create a feature branch, make two commits, and merge back to main.