Free course
Git Course
Learn version control from the command line: repositories, commits, branches, merges, remotes, GitHub, and safe ways to recover from mistakes.
Prerequisites: Shell Commands
~~~
Your progress
of lessons completed.
Course completed.
What you'll learn
Track a project with Git, develop work on a branch, share it through GitHub, and undo common mistakes without losing work.
Take this course offline
Subscribe to my newsletter to get every free book, downloadable course, and complete software download.
Get the downloadsCourse contents
Git fundamentals
Version control, repositories, snapshots, and configuration.
Your daily Git workflow
Status, staging, commits, diffs, history, and ignored files.
Branches and merges
Create branches, combine work, and resolve conflicts.
Undoing and recovery
Unstage, restore, amend, revert, and recover safely.
- ✓ Unstage a file
- ✓ Discard working changes carefully
- ✓ Git, what if you forgot to add a file to a commit?
- ✓ Amend the last local commit
- ✓ Revert a shared commit
- ✓ Understand reset before using it
- ✓ git reflog: how to recover lost commits
- ✓ I posted my password / API key on GitHub
- ✓ Check your understanding: undoing things
Remotes and GitHub
Clone, fetch, pull, push, forks, and pull requests.