Explanation
Git records project history so you can branch, commit, merge, and recover previous versions safely.
Code example
bashgit init
git add .
git commit -m "Initial commit"
git branch feature/hero
git checkout feature/hero
git status
git log --onelineExercise
Initialize a repo, create a feature branch, make two commits, and merge back to main.
