Git Crash Course — Extreme Automation

Git Crash Course

workshop

Description

This one-day workshop will familiarize you with Git fundamentals. Lots of practical exercises and tricks will make you more effective working with the most popular version control system on the planet.

Learn how to organize your daily work with Git and become proficient with branching and merging, resetting and rebasing, creating pull requests and forking, stashing and making partial commits as well as many more useful tools that Git has.

Modules

6 modules

Difficulty

intermediate

Duration

1 day

Materials

Included

Available onRequest
1

Introduction

Git history

Git architecture and components

Installing Git and setting up environment

2

Working with local repository

Creating empty repository with git init

Staging changes with git add

Creating history records with git commit

Checking working tree with git status

Checking history with git log and git diff

Temporarily postponing changes with git stash

Controlling Git behavior with git config and .gitattributes

Excluding files in .gitignore and .gitkeep

Going "back in time" with git checkout

Reverting changes with git revert

Cleaning working tree with git clean

Forgetting history with git reset

Rewriting history with git rebase

3

Collaborating on code

Retrieving remote repository with git clone

Controlling remote repository location with git remote

Retrieving remote changes with git fetch and git pull

Sending local changes to remote repository with git push

Resolving conflicts

4

Branching and merging

Creating and switching between local branches with git checkout

Pushing branches to remote repository with git push

Listing local and remote branches with git branch

Merging branches with git merge

Rebasing vs merging

Deleting branches

5

Git work flows

Feature branches

GitFlow: master, develop, release, feature

Forks and pull/merge requests

6

Additional topics

Git LFS

Git hooks: client/server, validation, encryption

Git client overview: TortoiseGit, SourceTree, Intellij IDEA

Git service overview: GitHub, GitLab, BitBucket

Results

by completing this course, students will be able to:
  • Learn Git commands, shortcuts and tricks
  • Understand the concepts behind Git index organization
  • Know the difference between merge, rebase, and reset
  • Become confident with branching and merging strategies

Delivery method

the course is delivered interactively with the help of:

Materials

the following materials will be shared with the attendees:

Like this course?

If you find this course useful, feel free to share it.