4.29 out of 5
4.29
514 reviews on Udemy

Git for Geeks: Quick Git Training for Developers

Learn the core features of Git in less time for experienced software engineers new to Git
Instructor:
Jason Taylor
4,253 students enrolled
English
Learn the key concepts of the Git source control system
Step through the entire Git workflow
Compare the different states in Git
Manage files inside and outside the control of Git
Create and manage repositories on GitHub and BitBucket
Create branches and resolve conflicts with confidence
Save work in progress with Stashes
Mark special events with Tags
Even a bit of time travel within Git repositories

Git for Geeks

This course is designed to cut academic theory to just the key concepts and focus on basics tasks in Git in order to be productive quickly. Students can expect to learn the all the main features of Git in just two hours.

New! Closed captions throughout the course!

Course Outline

Course Introduction provides a welcome to this course with a few suggestions on how to get the most out of it. After that, we cover the minimum theory before getting our hands dirty with Git in the Core Concepts section.

Quick Installation provides an overview on the installation process for all tools needed for this course. A more detailed set of instructions are available in the Bonus section.

In The Basics, we walk through all the commands needed to start a new project managed by Git (or enable Git for an existing project) all the way through making commits, including common file operations like moving and deleting files. We also cover how to exclude the wrong files from accidentally being committed and how to review your repository’s history.

We then go a bit deeper in the Advanced section when we cover comparing changes, branching and merging (including merge conflict resolution), tagging milestones, saving temporary work, and even a bit of time travel.

Finally, Going Remote covers publishing the locally created repository (previous sections) on GitHub and BitBucket. We cover the main concepts related to working with any remote Git repositories and compare the differences between the two most popular Git hosting services.

After the main part of the course, this course offers several bonus sections that explore some topics in more detail for those that like more information.

Course Features

Presentations provide audio/video training of conceptual ideas. Since few like slide-ware presentations, slide-presentations are kept to a minimum.

Screencasts provide a video of the instructor’s computer system with any actions, commands, or screens displayed and narrated. Excluding bonus lectures, this course offers about 2 hours of screencast videos.

Several attachments throughout the course provide supplemental information, illustrations, or other reference material.

Introduction

1
Course Introduction

An overview of the topics that will be covered in this course, including Git basics, advanced Git, and going remote with GitHub and Bit Bucket.

2
Audience and Approach

A quick guide to the general approach for this curse, including step by step demos that are short and focused using the command line. As well, it is recommended to follow along with all of the examples to maximize your learning.

3
Going Command Line

A quick explanation of the reasoning for using the command line to start using Git, including new features hitting the command line first, online help being targeted at folks on the command line, the command line having more power, and the cross-platform nature of the bash terminal.

Core Concepts

1
Core Concepts Overview

An overview of the foundational aspects that will be covered in this section on the basic concepts in Git. This can be skipped if you already know what Git is and does.

2
What is Git?

A quick overview of what Git is, a decentralized or distributed version control system that works off of local operations to allow it to be quick and large in scale. Git is considered de-facto for version control, making it widely supported.

3
What is a Git Repository?

In Git, the collection of files being managed and all of their version history is considered the repository. Not everything in the folder has to be managed by Git, but the .git folder is what contains all of the versioning files.

4
How Commits Work

Commits are snapshots of an entire repository, showing the changes between it and the previous state of the Git repository's files. These commits follow a timeline of events to get you from one point to the next.

Quick Installation

1
Quick Installation Overview

An overview of the way that this section lists out all tools to be installed in concise, slide driven installation guides.

2
Quick Install and Setup on Windows

An overview of what we will need to install on Windows for this course, including Git for Windows, Notepad++, and P4Merge.

3
Installation Notes for Windows
4
Quick Install and Setup on Mac OS X

An overview of what we will need to install on Mac OS for this course, including Git from Apple, TextMate 2, and P4Merge.

5
Installation Notes for Mac OS X

The Basics: Foundations In Git

1
The Basics Overview

An overview of the foundational commands that will be covered in this section, including getting information, creating a basic Git workflow, doing file operations, excluding files, and undoing mistakes.

2
Starting with a Empty Repository (git init)

Creating a new Git repository on our local system using the command line interface with the command "git init".

3
Git States / Basic Workflow

An overview of the three basic states of a file in Git, including working directory, staging area, and the repository (.git folder). This may also include the fourth stage, remote, which is a separate repository tacked on at the end to mirror the local side's final repository state.

4
The First Commit and the Basic Local Workflow (git add / git commit)

Continuing with our demo repository by adding files and checking out the status of the repository using the "git status" command to build up to our initial commit.

5
Discover the Git Repository

Understanding the inner workings of the Git repository by looking in and seeing what happens when the ".git" folder is removed.

6
Starting with an Existing Project (git init)

Adding Git source control to an existing folder and files, recreating our Git project that we just started.

7
Going Deeper with Commits and Messages

Adding new files before our initial commit on our newly created Git repository, using special characters to add multiple files at once.

8
Commit Log and Showing Commit Details

Using "git log" to show the listing of commits that are part of this repository.

9
Combining Steps with Express Commits

Editing an existing file that is currently managed by Git, in order to show how Git tracks modified files and how Git can add and commit these changes in one command.

10
Backing Out Changes in Stage and the Working Directory

Backing out changes by reverting changes from our staging area and then reverting the changes entirely.

11
Git History and Creating Custom Git Commands with Aliases

Using the Git log command to display an easier to read commit log history, before making an alias that will run that command without having to type the full command out.

12
Renaming and Deleting Files within Git

Using Git to rename and delete files, which will keep track of the changes between renames and deletes.

13
Making Changes to Files Outside Git

Using non-Git based commands to rename and remove files outside of Git in order to show how this messes up the Git history and to then show how to add the link back so Git can properly track the files.

14
Excluding Unwanted Files from Git

Using the ".gitignore" file to exclude files that we don't want in our Git repository by using expressions to exclude files by extension type.

Advanced: Going Deeper with Git

1
Advanced Overview

A description of the more advanced topics that will be covered in this section, including comparing changes, branching, creating milestones, time travel, and more.

2
Comparing Changes (git diff / difftool)

Using "git diff" to show differences between two commit points within our Git history.

3
What are Branches

An explanation of what branches are, including diagrams of the most common types of branch resolutions, including fast forward, no fast forward, automatic merges, and manual merge conflicts.

4
Special Markers and HEAD

An explanation of what special markers do, allowing you to access special points on the Git repository, such as HEAD, which is the most recent commit.

5
Branching and Simple Merging (Easy Paths)

Creating and managing branches other than Master in our Git repository, then merging in those changes with the easiest path, a fast forward merge, finally deleting the branch we no longer need.

6
Manual Merges and Conflict Resolution

Creating a conflict between branches and walking through the steps to use our merge tool to resolve the conflict.

7
Marking Important Milestones with Tagging

Looking at adding tag onto specific commits in Git. This allows us to create tags to associate with commits in our history in order to mark out milestone builds for future reference with a lot more detail.

8
Saving Working in Progress with Stashing

Saving progress in our current repository by stashing our changes to be able to unpack them inside a different branch, effectively moving the changes so we don't have to destroy them.

9
Repository Time Travel with Reset and Reflog (Undo Bad Commits)

Resting to arbitrary commits using "reset" and using "reflog" to display all of those changes, before finally resetting our history to the current commit without losing any history.

Going Remote with GitHub and BitBucket

1
Going Remote Overview

Exploring the remote side of Git by looking at the two main hosting services BitBucket and GitHub.

2
What are Remote Repositories

A quick explanation of what remote repositories are, basically a backup copy of your Git repository but on a remote service such as BitBucket or GitHub.

3
What is BitBucket?

Bit bucket is a remote repository hosting service that can either be cloud hosted or hosted on a local system. The payment model is based on the number of contributors to private repositories.

4
Sign up for BitBucket

Signing up for an account with BitBucket that we will use to create our remote copy of our local repository.

5
Remote Repository Creation

Creating our first demo repository in BitBucket using the basic repository creation interface.

6
Establish Relationship Between Local and Remote Repositories

Connecting the demo repository we just created on BitBucket to the existing project that we have on our local system.

7
Updating Remote Repositories (git push)

Pushing the changes on our local repository to the remote BitBucket repository we just linked to the local repository.

8
Removing the Remote Repository

Removing the remote BitBucket repository reference that we added to our local Git Repository.

9
Comparing Services: GitHub vs BitBucket

Comparing the differences between GitHub and BitBucket. This comparison is out of date, as GitHub offers a fairly similar model of private repositories to BitBucket.

10
What is GitHub?

A quick overview of GitHub, which is currently owned by Microsoft, no longer GitHub itself. As such, GitHub has lost some popularity in hosting open source projects.

11
Working with GitHub

Signing into GitHub and creating a simple example repository, which we link to our local repository by pushing up our changes from our local side to the remote GitHub repository.

12
Cloning the Repository (git clone)

Using GitHub to create a repository on the remote side before then cloning it down to our local system, in order to ease the process of linking the two together.

13
Update without Merge: Fetching Updates (git fetch)

Looking over the differences between fetch and pull, where fetch only looks at the differences and updates the remote references and pulling takes those changes down and tries to integrate them to our local repository.

Conclusion

1
Final Words

A quick overview of what has been covered in this course, and how it will help you to be a better developer by using source control.

Bonus: Background

1
Background Overview

A quick overview of the background topics that will be covered, including a bio of the instructor, a brief history of Git, and comparing Git to other source control tools available.

2
About the Instructor

A quick bio of Jason Taylor, the instructor for this course, who has had a lot of practical experience using Git on large productions.

3
A Brief History of Git

A brief history of how Git was created out of necessity to support the Linux kernel project after a license for bit keeper was revoked.

4
Comparing Source Control Tools

A quick comparison of the advantages and disadvantages between Git and the leading competitors, such as Mercurial and commercial offerings.

Bonus: Complete Windows Installation

1
Installation Overview

A guide to the programs that will be installed in this section, including Git for Windows, Notepad++, and P4Merge.

2
Git for Windows Installation

Installing the versioning software Git for Windows onto our local Windows System.

3
Git for Windows Settings and Tweaks

Tweaking Git for Windows to be more usable throughout the rest of this course.

4
Gitting Help

Getting help on commands we are going to be using in this course by using the "git help" command to detail how to use things.

5
Minimal Git Configuration

Setting up the minimal configuration needed by Git to get our Git for Windows setup working.

6
Notepad++ Installation

Installing the text editor Notepad++ onto our local Windows system.

7
Notepad++ Git Integration

Integrating our text editor Notepad++ with our install of Git for Windows.

8
P4Merge for Windows Installation

Installing the merge tool P4Merge onto our local Windows installation.

9
P4Merge Git Integration

Integrating the functionality provided by P4Merge into Git.

Bonus: Complete Mac OS X Installation

1
Mac OS X Installation Overview

A guide to the programs that will be installed in this section, including Git from Apple, TextMate 2, and P4Merge.

2
Apple Git Installation

Installing the versioning software, Git, on our local system using the command line utility provided by Apple.

3
Gitting Help

Getting help on commands we are going to be using in this course by using the "git help" command to detail how to use things.

4
Minimal Configuration

Setting up the minimal configuration needed by Git to get our Git setup working.

5
TextMate 2 Installation

Installing the text editor TextMate 2 on our local Mac OS system.

6
TextMate 2 Configuration

Configuring TextMate 2 to be more usable throughout the rest of this course.

7
TextMate 2 Git Integration

Configuring TextMate 2 to integrate closely with our installation of Git.

8
P4Merge for Mac OS X Installation

Installing the merge tool P4Merge onto our local Mac OS X installation.

9
P4Merge Git Integration

Integrating the functionality provided by P4Merge into Git.

10
Mac Git Prompt: Make Your Prompt Like Mine

Updating our terminal prompt to be more usable throughout this section by using a script.

11
Resolve Problem with MacOS Upgrade Breaking Git (new!)

A guide to resolving the issue of Git not working after upgrading to a new version of Mac OS.

Bonus: Special Offers

1
Bonus: Exclusive Student Discounts
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.3
4.3 out of 5
514 Ratings

Detailed Rating

Stars 5
221
Stars 4
214
Stars 3
68
Stars 2
9
Stars 1
3
6457b2f60a644c16dd001cf17c1d6894
30-Day Money-Back Guarantee

Includes

3 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion