Book Image

Git and GitHub Crash Course [Video]

By : Bogdan Stashchuk
4 (2)
Book Image

Git and GitHub Crash Course [Video]

4 (2)
By: Bogdan Stashchuk

Overview of this book

This course is designed to guide you through working with Git and GitHub. You will start by learning how to install Git and initialize a new Git repository on Windows, Mac, and Linux/Unix systems and then understand how to use it on the command line. Next, you will learn the four types of objects in Git: blobs, trees, commits, and annotated tags. Each object has a unique SHA1 hash. All objects are stored in the folders. Every object has just a single reference to it-SHA1 hash. Files are stored in blobs. Filenames are stored in other Git objects called trees. The videos will guide you through making changes, staging them, and committing them afterward. Also, you will learn and practice how to observe commits tree and checkout different commits to “travel in time” between different states of the Git repository. By the end of this course, you will be well-versed with the basics of Git and GitHub.
Table of Contents (7 chapters)
Chapter 6
Exploring Git objects
Content Locked
Section 2
Reading Contents of the HEAD File
The Git folder consists of many subfolders among which we have our HEAD file. The contents of a HEAD file point toward a specific branch.