Git Learnit

Tags: Git

Learn Git from basics to advanced level. During the course we will create our own project that we will manage with Git

Last updated 2022-01-10 | 4.5

- Git :)
- Learn the key concept of Git
- Perform basic and advanced git operations

What you'll learn

Git :)
Learn the key concept of Git
Perform basic and advanced git operations
Manage branches
solve merge conflicts like a PRO
How to work with GitHub
Manage Local and Remote repositories
Manage files with Git in your filesystem
Rebasing in git
How to develop software in team using git
Step through the entire Git workflow
Best practices of using git
How to keep git history clean
Real-life cases of using git

* Requirements

* Admin rights may be required for software installation
* Course is created to learn Git from scratch to advanced level
* so no specific requirements for the base level

Description

  • Git :)
  • Learn the key concept of Git
  • Perform basic and advanced git operations
  • Manage branches, solve merge conflicts like a PRO
  • How to work with GitHub
  • Manage Local and Remote repositories
  • Manage files with Git in your filesystem
  • Rebasing in git
  • How to develop software in team using git
  • Step through the entire Git workflow
  • Best practices of using git
  • How to keep git history clean
  • Real-life cases of using git

Course content

13 sections • 24 lectures

Communication plan Preview 04:10

From this lecture you will learn:
• How to communicate during this course

• Where to ask questions

• How to ask questions

• Communication channels

Version Control Systems & Git - Overview Preview 07:36

From this lecture you will learn:

• Version Control Systems - Overview

• The most popular VCS

• Git - Overview

• Git - Main features

• How git operates

Tips to Improve Your Course Taking Experience Preview 00:44

How to Install Git and Basic Git Configuration Preview 09:40

From this lecture you will learn:

• How to install Git

• Basic Git configuration

• What is a repository

• What is a Git Bash

• What is Git Gui

How to install git on linux and MacOS Preview 00:09

How to set Windows notepad as a default text editor in git Preview 00:10

Git repo init, First commit and main bracnh Preview 09:11

From this lecture you will learn:

• How to create a local Git repository

• git init

• git add

• git commit

• git status

• What is a branch

• Tracked VS Untracked files

Git ignoring & Git log Preview 10:18

From this lecture you will learn:
• .gitignore file

• How to ignore specific files and directories

• How to remove files from staging area

• How to remove directories from staging area

• Explore commit history

• git log

Git undoing things & Vi text editor Preview 08:57

From this lecture you will learn:

• How to amend last commit

• How to change commit message

• How to unstage changes

• git restore

• Restoring original state of the file before changes

• Vi console text editor

• Autocompletion with Tab key

Git remote repositories Preview 10:20

From this lecture you will learn:

• What is Git hosting

• Why do we need Git hosting

• Overview of the most popular git hosting sites

• Creating remote repository

• Checking remote repository

• Connect local repository with the remote repository

• Setting upstream for the master branch

• README.md

• Git clone

SSH Connection Preview 08:38

From this lecture you will learn:
• What is SSH protocol

• When we need to use SSH

• SSH Keys

• How to generate SSH keys

• How to configure git repository

• Known hosts

• Changing remote repository

Git Branching Preview 16:54

From this lecture you will learn:
• How commits are stored in git in a nutshell

• What is a branch

• What is a HEAD pointer

• Create new branch

• git log for the specific branch

• git checkout

• git switch

• git branch

• Switch branches

• Detached HEAD state

• Basic linux terminal commands (cd, touch, ls)

Pull Requests & Merge Requests Preview 11:12

From this lecture you will learn:
• What is a ‘pull request’

• Difference between ‘pull request’ & ‘merge request’

• Create the first ‘pull request’

• Add collaborators to a repository

• Assignee VS Reviewer in PR

• Merging strategies

Updating local repository (fetch, merge, pull) & Team development demo Preview 12:58

From this lecture you will learn:

• Why do we need to update the local repository

• How often do we have to update the local repository

• git fetch

• git merge

• What is ‘fast-forward’

• git pull

• ‘mkdir’ command

• Real-life scenario of team development and demo

Merge Conflicts Preview 13:48

From this lecture you will learn:
• What is merge conflict

• When merge conflicts happen

• Real-life example of merge conflict

• How to resolve merge conflicts

• Merge conflicts during the git pull

Git Rebasing & Force Update of remote repository Preview 16:48

From this lecture you will learn:
• What is git rebase

• When to apply rebasing

• Rebase VS Merge

• How to keep git tree clean

• How to resolve conflicts during the rebasing

• git rebase --continue

• Force update & --force-with-lease

• Four rules of happy work with git

Git Interactive Rebase Preview 09:01

From this lecture you will learn:
• What is interactive rebase

• git rebase -i

• How to change any commit message

• How to squash commits

• How to combine commits

• Best practices

Git reset Preview 11:10

From this lecture you will learn:
• What is git reset

• reset VS checkout

• git reset --soft

• git reset --mixed

• git reset --hard

• git reset to specific commit

• git reset few commits back

• git fetch --all and git reset origin branch

• Practical exercise

Git stash Preview 12:11

From this lecture you will learn:
• What is stash

• When to use git stash

• How to stash changes

• How to manage multiple stashes

• How to apply stash

• Stash untracked files

• How to apply specific change from stash

• What is stack

• git stash list

• git stash pop VS git stash apply

• git stash branch

• git stash drop

• git stash clear

Git reflog Preview 06:52

From this lecture you will learn:
• What is git reflog

• When to use

• How to restore lost commits

• How to restore lost commits in the new branch

• How to restore commit on the same branch

• Filter reflog by time

Git cherry-pick Preview 10:59

From this lecture you will learn:
• What is git cherry-pick

• When to use cherry-pick

• How to cherry-pick multiple commits

• Resolve conflicts during the cherry-picking

• Best practices

Cloning remote repository: git clone Preview 00:29

From this lesson you are going to learn how to use 'git clone' command to clone remote repository to your local computer.

Git and Eclipse integration Preview 14:46

From this lecture you will learn:
• Explore git views in Eclipse

• How to add an existing git repository into eclipse

• Git bash in eclipse

• Review commit history in Eclipse

• Branch navigation in eclipse

• Creating a snapshot and pushing from eclipse

• Configuring toolbar

• Updating local repository from eclipse

• Resolving conflicts in eclipse