
Git and GitHub
Git tracks every change to your code, and GitHub lets you share and collaborate. Learn the workflow used by professional developers.
Git tracks every change to your code, and GitHub lets you share and collaborate. Learn the workflow used by professional developers.
What You Will Learn
- What version control is and why it matters
- Repositories, commits, staging and history
- Branches and merging, and fixing merge conflicts
- Working with remotes, push, pull and clone
- Pull requests, issues and code review on GitHub
- Publishing a site with GitHub Pages and ignoring files safely
What You Will Build
- A tracked project with a clear history
- A pull request to an open project
- A portfolio site published on GitHub Pages
Who This Course Is For
Developers and learners who want to save their work properly and work with others.
What You Need
A computer and any code project, however small. Command-line basics are explained.
How The Course Works
Every course on Skills in Minutes is free and follows the same five sections: Beginner, Intermediate, Advanced, Projects and Go pro. Each lesson is short, ends with a quick quiz and a summary, and builds on the one before. You can stop and return at any time.
Where It Can Lead
- Any developer role
- Open-source contributor
- Technical writer working in docs repositories
Results depend on your practice, your goals and your market. This course gives you the skills and a portfolio of practical work to show for it.
Course Outline
Beginner10 lessons
1What Version Control Is and Why It Matters2Installing Git, the Command Line and Your First Setup3Your First Repository and First Commit4Staging Changes and Writing Good Commits5Looking Back and Undoing Mistakes Safely6Ignoring Files and Keeping Secrets Out of History7Branches: Working on Ideas Without Risk8Merging Branches and Fixing Conflicts9Remotes: Push, Pull and Clone10Beginner Project: A Tracked Project with a Clear HistoryIntermediate10 lessons
11GitHub Accounts, Repositories and a Good README12Issues: Tracking Work and Linking It to Commits13Pull Requests and the Three Ways to Merge14Code Review: Giving and Receiving Feedback15Forks: Contributing to Someone Else’s Project16GitHub Pages: Publishing a Small Site Safely17Stash, Tags and Releases18Team Workflows and Protecting the Main Branch19Rebase Versus Merge, and Tidying History Safely20Intermediate Project: Contribute a Change to an Open ProjectAdvanced10 lessons
21How Git Stores Things: Objects, Packs and Reachability22Bisect and Cherry-pick: Two Power Tools23Hooks: Automating Checks Before You Commit24Continuous Checks: What GitHub Actions Does25Large Files, Submodules and Big Projects26Security: Signed Commits, Keys, Tokens and Scanning27Disaster Recovery: Reflog, ORIG_HEAD and Dangling Commits28Professional Life: Portfolio, Pricing and Handover29Handling Projects: Release Plans and Release Notes30Capstone: Audit, Repair and Release a Shared RepositoryQuestions
Are Git and GitHub the same?
No. Git is the tool that tracks changes on your computer. GitHub is a website that hosts Git repositories and adds collaboration features.
Do I need the command line?
The course teaches the commands first so you understand what is happening, then shows how editors and apps do the same things.
Is GitHub free?
Yes. Free accounts include public and private repositories.
