💻 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 lessons1-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 controlHistoryWhy Git⚡ +10
    ▶ Now
  2. 02

    git config — setting the author

    Full nameEmailgit config⚡ +10
    Open
  3. 03

    git init — create a repository

    git initThe .git folderLocal repo⚡ +10
    Open
  4. 04

    git status — file state

    UntrackedModifiedStaged⚡ +10
    🔒 Pro
  5. 05

    git config --list — checking settings

    Checking settingsconfig --listGlobal settings⚡ +10
    🔒 Pro
02

Staging и коммиты

0 / 6 lessons
  1. 06

    git add — stage a file

    git addStaging areaFile name⚡ +10
    🔒 Pro
  2. 07

    git add . — stage all files

    git add .All changesWhat the dot means⚡ +10
    🔒 Pro
  3. 08

    git commit — save a version

    git commitThe -m flagCommit message⚡ +10
    🔒 Pro
  4. 09

    git log — commit history

    git log--onelineCommit history⚡ +10
    🔒 Pro
  5. 10

    git diff — what changed

    git diffComparing changesStaged diff⚡ +10
    🔒 Pro
  6. 11

    .gitignore — excluding files

    .gitignoreExclusion rulesnode_modules⚡ +10
    🔒 Pro
03

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

0 / 6 lessons
  1. 12

    What is a branch

    The idea of a branchThe main branchParallel development⚡ +10
    🔒 Pro
  2. 13

    git switch — switching between branches

    git switchCreating a branchgit switch -c⚡ +10
    🔒 Pro
  3. 14

    git merge — merging branches

    git mergeFast-forwardMerge commit⚡ +10
    🔒 Pro
  4. 15

    Deleting a branch

    git branch -dCleaning up branchesAfter a merge⚡ +10
    🔒 Pro
  5. 16

    Merge conflicts

    Conflict<<<<<<< markersHow to resolve⚡ +10
    🔒 Pro
  6. 17

    git rebase — straightening history

    git rebaseLinear historyrebase vs merge⚡ +10
    🔒 Pro
04

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

0 / 5 lessons
  1. 18

    git remote add — connecting to GitHub

    git remote addoriginGitHub URL⚡ +10
    🔒 Pro
  2. 19

    git push — sending to GitHub

    git pushThe -u flagUpstream link⚡ +10
    🔒 Pro
  3. 20

    git clone — copying a repository locally

    git cloneCopying a repositoryHTTPS vs SSH⚡ +10
    🔒 Pro
  4. 21

    git fetch and git pull

    git fetchgit pullGetting changes⚡ +10
    🔒 Pro
  5. 22

    git push — sending a feature branch

    Pushing a feature branchBasis for a PRRemote branch⚡ +10
    🔒 Pro
05

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

0 / 5 lessons
  1. 23

    git restore — undoing local changes

    git restoreDiscarding changesBack to a commit⚡ +10
    🔒 Pro
  2. 24

    git reset — undoing commits

    git reset --softgit reset --hardHEAD~1⚡ +10
    🔒 Pro
  3. 25

    git revert — safely undoing a commit

    git revertA new undo commitSafe undo⚡ +10
    🔒 Pro
  4. 26

    git stash — temporarily saving changes

    git stashgit stash popTemporary save⚡ +10
    🔒 Pro
  5. 27

    git tag — marking versions

    git tagVersion tagv1.0.0⚡ +10
    🔒 Pro
06

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

0 / 4 lessons
  1. 28

    Fork — a copy of someone else’s repository

    ForkForking on GitHubOpen source⚡ +10
    🔒 Pro
  2. 29

    What is a Pull Request

    Pull RequestCode reviewOpening a PR⚡ +10
    🔒 Pro
  3. 30

    git shortlog and author statistics

    git shortlogAuthorsCommit statistics⚡ +10
    🔒 Pro
  4. 31

    Mini-project: the full Git workflow

    Full cyclePreparing a PRTeam workflow
    Course complete
    🔒 Pro
Git & GitHub — online coding course