GIT Essentials

The Clearvision Git Essentials training course provides a comprehensive understanding of basic Git concepts and looks at the different ways Git can be used and implemented.

Audience:

This course is ideal for anyone new to Git version control, or anyone who has been using it for a while, without really understanding how it works.

Prerequisites:

  • Access to laptop
  • Internet connection

Objectives & Outcomes

Through the Clearvision Git Essentials course you’ll become an expert at using git for day to day development. Suitable for both new users and those who have been struggling for a while, we’ll show you how Git really works, not just the commands you’ll need but the impact you are having on both your local repository and the remote.

You’ll learn all about branches and strategy. You’ll work with the index to manipulate code in your local repository and perform merges while solving conflicts. Finally, you’ll dive deep into understanding git’s internal setup so collaborating with other users wont come as a surprise. You’ll be prepared for whatever your colleagues do next.

Course outline:

Module 1: Introduction

  • What this course covers
  • The need for Version Control
  • A brief history of git and what it is (i.e. a DVCS)
  • What is DVCS
  • Plumbing and Porcelain
  • The repository (at high level)
  • Getting Started

Module 2: Git Concepts

  • Git Object Types
    • Blobs
    • Trees
    • Commits
    • Tags
    • Git Reference Types
    • Object Model Example
  • Hash Values (SHA-1)
  • The Git Data Model

Module 3: Getting Started

  • How to create a new Git repository
  • Setting up Your Git Environment
  • Basic workflow
  • Adding new files
  • Changing existing files
  • Committing changes to the repository
  • The Git Log

Module 4: Working with Git

  • Workflow
  • The Status command
  • Ignoring file types
    •  Negation in ignore files
  • View specific changes
  • Removing files & directories
  • Moving files & directories
  • Stashing Changes
  • Undoing or fixing errors
  • Reset a change
  • Revert a change
  • Checkout a change

Module 5: Branching and Merging

  • What is a branch
  • Creating a branch
  • Switching between branches
  • What is a merge
  • Fast forward merge
  • 3-way merge
  • Resolving merge conflicts
  • Merge tools
  • Removing branches
  • Rebasing
    • autostash
  • Branch management in Git

Module 6: Collaboration Basics

  • Cloning repositories
  • Remotes
  • Remote Branches and Tracking Branches
  • Fetching, Pulling and Pushing Changes
  • Bare and development repositories
  • Publishing repositories

Module 7: Collaboration Stratagies

  • Branching Strategies
  • Structural Strategies

Module 8: Tagging

  • What is a tag
  • Viewing tags
  • Creating tags
  • Signed tags
  • Tagging later
  • Sharing tags

Other relevant courses

26. August
1 days
Classroom
27. August
1 days
Classroom
2. September
1 days
Classroom
28. August
1 days
Classroom