Git Essential Training

with Kevin Skoglund
please wait ...
Git Essential Training
Video duration: 0s 6h 25m Beginner


The course shows how to use Git, the popular open-source version control software, to manage changes to source code and text files. Using a step-by-step approach, author Kevin Skoglund presents the commands that enable efficient code management and reveals the fundamental concepts behind version control systems and the Git architecture. Discover how to track changes to files in a repository, review previous edits, and compare versions of a file; create branches to test new ideas without altering the main project; and merge those changes into the project if they work out. The course begins by demonstrating version control in a single-user, standalone context, before exploring how remote repositories allow users to collaborate on projects effectively.

Topics include:
  • Exploring the history of version control
  • Installing Git on Mac, Windows, and Linux
  • Initializing a repository
  • Writing useful commit messages
  • Understanding the Git three-tree architecture
  • Tracking when files are added, edited, deleted, or moved
  • Viewing change sets and comparing versions
  • Undoing changes and rolling back to previous versions
  • Ignoring changes to select files
  • Creating and working with code branches
  • Merging branches and resolving merge conflicts
  • Stashing changes for later
  • Working with hosted repositories and remote branches
  • Developing an effective collaboration workflow
Git GitHub


Welcome, to Git Essential Training. My name is Kevin Scotland. In this course we're going to learned how to use Git to manage files and source code. We'll look at the fundamental concepts behind all version control systems and then gain an understanding of the architecture that Git uses. We will use Git to track changes to files and source code, whether those changes are adding, editing, deleting, or moving files. And we'll discuss how to write clear messages that describe the changes that you made and learn to compare different versions of a file to see a line by line comparison of what changed.

We'll learn how to undo changes that you've made even if you already recorded those changes in Git. We'll create branches of our code to try new ideas without altering the main project, and then we'll merge those changes into the project when those features are finished. And last we'll see how to use our remote repository to enable collaboration with other Git users. It doesn't matter if you're a complete beginner or if you have some prior experience, we're going to cover all the fundamentals that you need to use Git for source code management. So let's get started learning about Git.

Find answers to the most frequently asked questions about Git Essential Training .

Expand all | Collapse all
please wait ...
Q: In the Chapter 10 movie "Configuring the command prompt to show the branch," when I type the function "__git_ps1," I do not get the expected result.
A: The function "__git_ps1" was recently moved to a new file,, as described here:

We will update the video. In the meantime, you may do the same steps you do for .git-completion.bash, but a second time using "" as shown here:
Q: When I use the code the instructor advises in the above video ("git config
--global "Nelda Street"), I still get an "Illegal Instruction"
error. I have OS 10.6.8. Am I doing something wrong?
A: The current installer version of git isn't compatible with older Mac OS versions.
The workaround solutions people offer are:
1. To add "-mmacosx-version-min=10.6" as described here:
2. Or to use the version of git that comes with Xcode, or to use homebrew to install git instead.
please wait ...