Video description
6+ Hours of Video Instruction
Git Under the Hood LiveLessons provides developers with a deeper understanding of Git so that they can use it more effectively. The fastest way to stop stumbling around in Git and to start understanding what you're doing is to learn how Git works.
Description
When you come to really understand what’s actually happening under-the-hood, most things that you’ve found mysterious or cryptic about Git will vanish. You go from being puzzled to being a resource, and some of you will go from being users to being contributors.
This course provides viewers with knowledge of Git’s repository pieces and the right mental models for how to use those pieces. Students will be able to compare and contrast the design and performance of Git with its predecessors as well as see the design parallels between Git and Linux. With this knowledge, viewers will understand how to experiment when Git does something unexpected and how to extend Git with new commands.
In this course, all work is on the command line, so familiarity with bash is assumed, but no other programming languages are required. Each lesson calls out pause points for viewers to answer specific questions, practice what’s been explained, and explore related points.
About the Instructor
Jeffrey Haemer is a Linux/Unix professional with more than twenty years of experience. He currently does software configuration management at Gogo Business Aviation and lives in Boulder, Colorado. He has a Ph.D. in Genetics from the University of Colorado.
Skill Level
- Intermediate
- Advanced
- The varied pieces of Git's repository
- Basic Git commands and how to use those pieces
- The design and performance of Git versus its VCS progenitors
- Design parallels between Git and Linux
- How to experiment when Git does something unexpected
- How to extend Git with new commands
- For software developers with some experience using a version control system. Specifically, those developers who know some Git commands.
- Comfortable using a terminal window/command line
- Basic-level knowledge in working with Git
- Have root-permission access to a Linux computer or VM
Introduction
Lesson 1: Get Our Toes Wet covers some common Git commands, like git init and git add, and walks you through experiments to see how they actually work. You begin to build your repertoire of tools to do more sophisticated experiments, and you come to see that it’s useful to watch for analogies between Linux and Git. You look inside three of the four kinds of Git objects, and you learn that Git objects, like Linux files, have no names. Finally, you come to understand why Git can trade information with remote repos blazingly fast, as you watch it play “Go Fish” with files that have no names.
Lesson 2: See the Future by Looking Into the Past reviews how version control started by first looking at Marc Rochkind’s SCCS and its successors RCS, VCS, and SVN. SVN is considered by some to be the crowning achievement of centralized version control systems. We address whether SVN is outdated, or if there are other reasons to switch to Git and we put them head-to-head to let you judge for yourself. Comparing and contrasting Git with other version-control systems lets you see why Git’s good but also what is missing. We talk about what’s not in Git, and what is being built today to fill those vacuums. We look at one specific new tool, Google repo, which is designed to let you juggle projects that need hundreds of Git repos at the same time.
Lesson 3: Finding Out Why Branching and Tagging Is So Fast looks at the Git repository the .git/ directory to understand one of the most common tasks: branching. With an under-the-hood look, you learn what a branch is and how it’s different from a tag. You learn what happens when you create and delete them, and when you should check out a tag or switch branches. Also, you learn about HEAD. Git calls branches and tags “references,” but a HEAD is a “symbolic reference.” You are reminded why analogies help you understand how Git works. Branches, tags, and symbolic references have similarities and differences. We pause to compare and contrast, reviewing how to make them, how to remove them, and how to change them. Finally, you cap off your journey into branches and tags by looking at Git’s fourth, and last, object type: tag objects. The goal of this lesson is to solidify your understanding that when you issue a Git command, you’re not just changing your working copy you’re also doing something understandable to the contents of your repository.
Lesson 4: Filling In the Rest of .git/ goes the rest of the way through the contents of the .git directory covering logs, the staging area, and remotes. You come to see Git in a whole new way and will have a mental model of Git that will keep you from being mystified when something goes wrong. You learn how to use logs to see where your repo has been. We talk some more about names for objects and how logs let you recover when you give Git amnesia. You see how the index is where your repo is about to go how Git uses the staging area to go even faster and how to think about what’s about to happen when you commit. You firm up your understanding by looking through a dozen or so common problems that you, or others you know, have had. You see why they now make sense, why you know what to do about them, and what’s happening when you push to or fetch from a remote. You look at a tool you’ve developed during Lessons 1 through 3, and realize you can use it as a dissecting tool to understand what’s going on under the hood whenever you’re perplexed.
Summary
About LiveLessons Video Training
The LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include: IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more. View all LiveLessons on InformIT at: http://www.informit.com/livelessons.
Table of contents
- Introduction
- Lesson 1: Get Our Toes Wet
-
Lesson 2: See the Future by Looking Into the Past
- Learning Objectives
- 2.1 Put git in context
- 2.2 Handling more than one directory: CVS and SVN
- 2.3 Feel the speed, feel the privacy--Part 1
- 2.3 Feel the speed, feel the privacy--Part 2
- 2.4 Use history to predict the future
- 2.5 Handle hundreds of repositories in one project--Part 1
- 2.5 Handle hundreds of repositories in one project--Part 2
- Lesson 3: Find Out Why Branching and Tagging is So Fast
-
Lesson 4: Filling In the Rest of .git/
- Learning Objectives
- 4.1 Look through logs
- 4.2 Learn what the cache is, by any other name
- 4.3 Handle common mistakes with aplomb--Part 1
- 4.3 Handle common mistakes with aplomb--Part 2
- 4.4 See how others get your branches--Part 1
- 4.4 See how others get your branches--Part 2
- 4.5 Go back to the first peek and pull it all together
- Summary
Product information
- Title: Git Under the Hood LiveLessons (Video Training)
- Author(s):
- Release date: April 2015
- Publisher(s): Pearson
- ISBN: 0134133927
You might also like
video
Git and GitHub LiveLessons—Workshop (Video Training)
Overview Description Concise configurations—configuring just what you need to get the best out of Git Your …
book
Hands-On Docker for Microservices with Python
A step-by-step guide to building microservices using Python and Docker, along with managing and orchestrating them …
video
Git Essentials: Become a Git and GitHub Ninja
This course is designed to guide you through working with Git and GitHub. You will start …
video
Git Essentials LiveLessons
Git Essentials, 2nd Edition is now available. Please use the new and expanded course. https://learning.oreilly.com/videos/git-essentials-livelessons/9780137440863/ Git …