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