GitHub from Zero to Professional
Master Git and GitHub with 25 hands-on labs: branches, pull requests, code review, GitHub Actions, cloud deployments and security. A 100% free course.
Beginner · 25 hours · 25 lessons · Free course · Course language: Spanish and English
A completely hands-on course: every lesson is a lab with commands to copy and paste, real outputs, pro tips and real error cases with their fix. You start by installing Git and finish with a protected professional repository, with continuous integration, deployment to GitHub Pages, AWS, Azure or Google Cloud, and security defenses. The lessons, quizzes and videos are in English; the course project (a small online store, tienda-online) keeps its Spanish file names and commit messages, and every lesson explains them.
What you will learn
- Use Git with confidence: commits, branches, merges, rebase and undoing any mistake
- Resolve conflicts and recover "lost" work with reflog
- Collaborate with pull requests, reviews, forks and protection rules
- Automate tests and deployments with GitHub Actions
- Deploy to GitHub Pages, AWS, Azure and Google Cloud without storing keys (OIDC)
- Protect your projects with Dependabot, secret scanning and CodeQL
- Diagnose and fix the most common Git and GitHub problems
- Build a professional repository for your portfolio
Skills
Git, GitHub, Branches and conflicts, Pull requests, Code review, GitHub Actions, CI/CD, OIDC on AWS, Azure and Google Cloud, Repository security, GitHub CLI
Program
Module 1: Git on your computer
Installation, first repository, staging area, .gitignore and history.
Project: The tienda-online repository with a clean history and sensitive files ignored.
- Install and set up Git: You install Git on Windows, macOS or Linux, set up your identity and leave your environment ready like a professional.
- Your first repository: init, add, commit and log: You create a repository, understand the three areas of Git and make your first commits with good messages.
- The staging area in depth: diff, restore, mv, rm and .gitignore: You review changes line by line, stage only what you want, rename and delete files with Git, and ignore files that shouldn't be uploaded.
- Explore the history: log, show, blame and time travel: You find any change in the history, see who modified each line and recover old versions of a file without losing anything.
Module 2: Branches, merges and conflicts
Branches, conflicts, rebase and how to undo anything.
Project: Features integrated with branches and a real conflict resolved.
- Branches: create, switch and merge: You work on branches to build features without breaking main, and merge them with a fast-forward and with a merge commit.
- Merge conflicts step by step: You trigger a real conflict, understand the markers, resolve it calmly and learn to cancel a merge.
- Rebase and interactive rebase: a clean history: You update your branch with rebase, squash and rename commits with interactive rebase, and learn the golden rule so you don't break your team's work.
- Undo anything: restore, reset, revert, amend, reflog and stash: A practical guide to undoing every kind of mistake in Git, recovering "lost" commits and saving work temporarily.
Module 3: GitHub and remote repositories
Account and SSH keys, push and pull, working with remotes, README, license and releases.
Project: Your repository published on GitHub with its first release.
- Your GitHub account, SSH keys and GitHub CLI: You create your account, turn on two-factor authentication, connect your computer with an SSH key and sign in with GitHub CLI.
- Publish your repository: remote, push and pull: You create the repository on GitHub, connect your local project, upload the whole history and sync changes both ways.
- Working with remotes: clone, fetch, pull --rebase and a rejected push: You simulate two people working on the same repository, understand fetch versus pull and fix the famous rejected push.
- A professional repository: README, license, tags and releases: You write a README that can be understood in 30 seconds, choose a license, version with semantic tags and publish your first release.
Module 4: Teamwork
Issues, pull requests, code review, forks and rulesets.
Project: A complete team flow with a reviewed PR, CODEOWNERS and a protected main.
- Issues, labels, milestones and templates: You organize the work with well-written issues, labels and milestones, create issue forms and close issues automatically from your commits.
- Pull requests from start to finish: You go through the whole cycle: branch, commits, push, a pull request with a template, review, squash merge and branch cleanup.
- Code review: comments, suggestions and CODEOWNERS: You review pull requests like a professional: useful comments, suggestions applied with one click, approvals and automatic reviewers with CODEOWNERS.
- Forks and contributing to open source projects: You contribute to a project where you don't have permissions: fork, an upstream remote, syncing and a pull request from your copy.
- Protect your branches: rulesets and team workflows: You protect main with rulesets (required PR, reviews, tests), choose a workflow for your team and standardize the commit messages.
Module 5: Automation with GitHub Actions
Workflows, continuous integration, secrets and continuous deployment with OIDC.
Project: CI with tests and the store published on GitHub Pages.
- Your first GitHub Actions workflow: You understand events, jobs, steps and runners, write your first workflow, validate it before pushing it and review its run.
- Continuous integration: tests, matrices and caching: You write automatic tests, set up CI that runs them on every push and pull request on several Node.js versions, and make the tests a requirement for merging.
- Secrets, variables, environments and permissions: You store credentials safely, separate configuration by environment with approvals, limit the GITHUB_TOKEN's permissions and pin actions to a commit.
- Continuous deployment: GitHub Pages and the cloud with OIDC (AWS, Azure and Google Cloud): You publish the store on GitHub Pages on every push and learn to deploy to AWS, Azure and Google Cloud without storing keys, using OpenID Connect.
Module 6: Security, productivity and final project
Dependabot, CodeQL, Codespaces, Copilot, real cases and the final project.
Project: A complete professional repository for your portfolio.
- Security: Dependabot, secret scanning and CodeQL: You turn on GitHub's defenses: automatic dependency updates, blocking secrets before the push, code analysis with CodeQL and dependency review on every PR.
- Productivity: GitHub Projects, Codespaces, Copilot and GitHub CLI: You organize the work on a Projects board, code from the browser with Codespaces, get to know the Copilot plans and speed up your day with GitHub CLI shortcuts and aliases.
- Real cases: diagnosing and fixing the most common problems: A recipe book of real Git and GitHub problems, each one reproduced and solved: unrelated histories, large files, half-done merges, automatic bisect, cleanup and more.
- Final project: a complete professional repository: You build a professional repository from scratch with everything you learned, validate it with a checklist and present it as part of your portfolio.
Prerequisites
- A computer with Windows, macOS or Linux
- A free GitHub account (you create it in lab 9)
- No previous experience required: every command is explained
Next courses
- Coding Agents with Codex and Claude · Advanced · 25 hours
Program with AI agents like a professional team: Claude Code, OpenAI Codex and your own agents with the Claude Agent SDK. - AI in the Cloud, Skills and Your First Agent · Beginner · 6 hours · Free course
A free, 100 % hands-on course: use Claude in the cloud, create your first Skill and build your first AI agent in 6 labs. Nothing to install.