⎇
💻 For developers

Git & GitHub

Code versions, branches, team workflow via GitHub

What you'll build
📘A solid foundation
⚡Practice in the browser
🎯Mini-projects
🎓Course certificate
📘 31 lessons⏱ 1-2 evenings🎓 For beginners
🎯 Mission
Master Git & GitHub
⚡+360XP
🏆CertificatePDF
🎓Course complete
Progress0 / 31 · 0%
Next up: What is Git

Course program

01

Настройка и первый репозиторий

0 / 5 lessons
⌄
  1. 01

    What is Git

    Version control•History•Why Git⚡ +10
    ▶ Now
  2. 02

    git config — setting the author

    Full name•Email•git config⚡ +10
    Open
  3. 03

    git init — create a repository

    git init•The .git folder•Local repo⚡ +10
    Open
  4. 04

    git status — file state

    Untracked•Modified•Staged⚡ +10
    🔒 Pro
  5. 05

    git config --list — checking settings

    Checking settings•config --list•Global settings⚡ +10
    🔒 Pro
02

Staging и коммиты

0 / 6 lessons
⌄
  1. 06

    git add — stage a file

    git add•Staging area•File name⚡ +10
    🔒 Pro
  2. 07

    git add . — stage all files

    git add .•All changes•What the dot means⚡ +10
    🔒 Pro
  3. 08

    git commit — save a version

    git commit•The -m flag•Commit message⚡ +10
    🔒 Pro
  4. 09

    git log — commit history

    git log•--oneline•Commit history⚡ +10
    🔒 Pro
  5. 10

    git diff — what changed

    git diff•Comparing changes•Staged diff⚡ +10
    🔒 Pro
  6. 11

    .gitignore — excluding files

    .gitignore•Exclusion rules•node_modules⚡ +10
    🔒 Pro
03

Ветки и слияние

0 / 6 lessons
⌄
  1. 12

    What is a branch

    The idea of a branch•The main branch•Parallel development⚡ +10
    🔒 Pro
  2. 13

    git switch — switching between branches

    git switch•Creating a branch•git switch -c⚡ +10
    🔒 Pro
  3. 14

    git merge — merging branches

    git merge•Fast-forward•Merge commit⚡ +10
    🔒 Pro
  4. 15

    Deleting a branch

    git branch -d•Cleaning up branches•After a merge⚡ +10
    🔒 Pro
  5. 16

    Merge conflicts

    Conflict•<<<<<<< markers•How to resolve⚡ +10
    🔒 Pro
  6. 17

    git rebase — straightening history

    git rebase•Linear history•rebase vs merge⚡ +10
    🔒 Pro
04

Удалённые репозитории

0 / 5 lessons
⌄
  1. 18

    git remote add — connecting to GitHub

    git remote add•origin•GitHub URL⚡ +10
    🔒 Pro
  2. 19

    git push — sending to GitHub

    git push•The -u flag•Upstream link⚡ +10
    🔒 Pro
  3. 20

    git clone — copying a repository locally

    git clone•Copying a repository•HTTPS vs SSH⚡ +10
    🔒 Pro
  4. 21

    git fetch and git pull

    git fetch•git pull•Getting changes⚡ +10
    🔒 Pro
  5. 22

    git push — sending a feature branch

    Pushing a feature branch•Basis for a PR•Remote branch⚡ +10
    🔒 Pro
05

Отмена изменений

0 / 5 lessons
⌄
  1. 23

    git restore — undoing local changes

    git restore•Discarding changes•Back to a commit⚡ +10
    🔒 Pro
  2. 24

    git reset — undoing commits

    git reset --soft•git reset --hard•HEAD~1⚡ +10
    🔒 Pro
  3. 25

    git revert — safely undoing a commit

    git revert•A new undo commit•Safe undo⚡ +10
    🔒 Pro
  4. 26

    git stash — temporarily saving changes

    git stash•git stash pop•Temporary save⚡ +10
    🔒 Pro
  5. 27

    git tag — marking versions

    git tag•Version tag•v1.0.0⚡ +10
    🔒 Pro
06

Командная работа

0 / 4 lessons
⌄
  1. 28

    Fork — a copy of someone else’s repository

    Fork•Forking on GitHub•Open source⚡ +10
    🔒 Pro
  2. 29

    What is a Pull Request

    Pull Request•Code review•Opening a PR⚡ +10
    🔒 Pro
  3. 30

    git shortlog and author statistics

    git shortlog•Authors•Commit statistics⚡ +10
    🔒 Pro
  4. 31

    Mini-project: the full Git workflow

    Full cycle•Preparing a PR•Team workflow
    Course complete
    🔒 Pro