Table of Content
- Git Config Command
- Git Diff Command
- Git Add Command
- Git Rm Command
- Git Commit Command
- Git Log Command
- Git Checkout Command
- Git Branch Command
- Git Merge Command
- Git Rebase Command
- Git Clone Command
- Git Remote Command
- Git Push Command
- Git Pull Command
- Git Stash Command
- Git Tag Command
- Git Revert & Reset Command
Miscellaneous Commands
Head (Reference to the snapshot that we are currently looking)
Internal Structure
Git Repo consist of three types of objects: Blobs, Trees and Commits
Blobs: Object IDs (OID) that contain the file content
Tress: OID that points to other blobs or trees. It is recursive structure. It includes the modes and type of the object
Commit: It is an OID that contains the commit related information
These details are stored inside the object directory
The Git database is a very complex key value store