Take your programming skills to the next level with our Java e-learning programme

Git

How to use the popular distributed version control tool.
  • This Git training course covers the basics of using the Git Change Management tool.
  • We cover what Git is, including how it differs from other version control tools.
  • How to use it to work collaboratively with other developers on a single project.

Pre-requisites

There are no pre-requisites for this course, although it will be helpful if you have a JDK (Java Development Kit) installed.

Contents - Contains 6 hours of training - equivalent to 1 day's live training.

 

1

Introduction


11 m 33 s
We start the course by explaining what GIT is, we cover some of the basic concepts, and then explain the structure of the course.

2

Getting Started


21 m 33 s
We show how to install Git on Windows, Mac and Linux machines, and then learn how to create a new git repository and place a file into it

3

Working with Git


29 m 21 s
We'll now start to use Git in a typical development scenario, practicing creating files, adding them to the repository, and then reviewing the changes. We also see how Git creates objects for the files in our repository.

4

Undoing commits and stashing


42 m 20 s
We learn how to correct simple mistakes - reverting a commit (rolling the code back to the previous version) and, retrieving files deleted in error. We then see how to use the stash to temporarily save the current edits, and we see how to split changes into multiple commits by splitting the changes into hunks.

5

Branching


59 m 8 s
We explain what a branch in GIT is, and how to create new branches and merge branches together using the fast forward and recursive strategies. We also cover how to use tags.

6

Merging and rebasing


56 m 51 s
In this chapter we explore how to deal with different types of conflicts that Git will detect when merging branches (renaming, text and binary conflicts). We then understand why rebasing can be a useful tool to simplify the merging process, and we learn how to use it.

7

Navigating the repository


25 m 18 s
As we commit changes to our repository the structure can get quite complex. In this chapter we use Git's command line tools to learn how to navigate and find commits within our repository. We also explore how to view differences between commits.

8

Rewriting history


62 m 34 s
We understand how you can change historic commits to correct mistakes, with a discussion of why and when you should do this. We'll also revisit rebasing and see a more advanced example with merge bubbles.

9

Remote repositories


43 m 13 s
In this chapter we learn how to connect to and work with a remote repository, and how to convert an existing repository into a bare repository that other users can connect to.

10

Course Summary


1 m 33 s
A short summary and suggestions of where to go next

Let the Course Come to You

About Us Pricing Frequently Asked Questions Contact Privacy T&Cs Affiliates and Resellers
Facebook Twitter YouTube