3. Git Refs
3.1. Commit Hash
SHA1
SHA1 collisions
Length (40 characters)
Using short hashes
Generating hash
Contains information about whole history
3.2. Refs
.git/refs/*
3.3. HEAD
.git/HEAD
3.4. Branches
3.5. Stating Area
3.6. Reset
$ git reset --hard
$ git reset --soft
$ git reset --mixed
3.7. Revert
$ git reset --hard HEAD