Skip to content
$ lynuxpro
← All courses

STAGE 1 · FOUNDATIONS · COURSE 3

Git

Version control from your first commit to rebasing, recovering lost work, hooks and Git internals.

Beginner to Expert · 21 lessons · about 6 hours · Free

Free courseEvery lesson is open, no payment needed.

Free accounts get 2 live lab sessions a day, 15 minutes each. Pro gives you unlimited labs.

See Pro plans

How Git fits together

HOW IT WORKSWhere your changes live in Git

YOUR COMPUTERWorking treefiles you editStaging areathe indexLocal repository.git: commitsRemoteGitLab / GitHubTeammatesclone, pull
1/6

You edit files in the working tree. Git notices the changes but records nothing yet.

$ git status
	modified:   app.py

Lessons

AFTER THE LAST LESSONGit cheat sheetEvery Git command from the course on one page: setup, daily work, history, undo, branches, remotes, rebase, debugging and security.FINAL PROJECT · ABOUT 30 MINShip a release with GitRun a small release end to end: ignore build junk, build a feature on a branch, merge it, and tag the release.

Next in the curriculum

Python for DevOps

Continue →