Git from Scratch
Version control in practice: commits, the staging area, history, .gitignore, branches, merges and conflicts, tags and teamwork on GitHub. You solve the tasks in real git right in your browser, with a live commit graph drawn next to it.
Log in to solve tasks and save your progress.
1. Git basics
1
What Git is and why you need it
5 XP
2
git init — create a repository
10 XP
3
Your first commit: add and commit
10 XP
4
git status: three states of a file
10 XP
5
History: git log
10 XP
6
git diff and git restore: see and undo
10 XP
7
.gitignore: what not to store
10 XP
8
git rm: removing files from a repository
10 XP
2. Branches and merging
3. Working in a team
Tasks unlock in order: solve the current one to unlock the next.