Free course on freeCodeCamp

Git and GitHub Crash Course

6 hours 4.7(28,000 reviews)Free

At a glance

Rating
Rating 4.7
Hours
6
Cost
Free

No certificate with this course.

Open Course

freeCodeCamp's Git and GitHub Crash Course is a free video tutorial that teaches version control with Git and collaboration on GitHub in about 30 minutes. You learn the core Git commands (init, add, commit, push, pull), how to create repositories on GitHub, and how to work with branches. The entire course is free on YouTube with no signup needed. After finishing, you understand how to track your code changes and push to GitHub. The main limitation: 30 minutes is a sprint. You'll know the basic commands but need practice to internalize the workflow. Follow along by running the commands on your local machine.

GitHub is used by 80.5% of professional developers as their primary code hosting and collaboration platform, and every GitHub workflow runs on Git underneath it (source: Stack Overflow Developer Survey 2025, Collaboration Tools section, survey.stackoverflow.co/2025/technology).

About This Course

This freeCodeCamp crash course is one video, embedded in a freeCodeCamp article and also on YouTube, that takes you from git init to a full collaboration workflow: staging, committing, branching, merging, resolving conflicts, and pushing to a shared GitHub repo. After watching, and typing along, you can manage version control for a real project and open a pull request with confidence. It's built for someone who has never used a terminal for version control before, not for developers already comfortable with git who need niche commands like rebase or bisect. The tradeoff of the video format: there's no interactive sandbox or graded exercises, so you supply your own practice repo to follow along in.

Course Details

Platform
freeCodeCamp
Language
Git
Duration
6h
Certificate
No
Cost
Free
All Courses

Frequently Asked Questions

Is freeCodeCamp's Git course free?

Yes, it's free on YouTube with no login or signup required.

Do I need any experience?

No. The course assumes no prior knowledge and starts from installation.

Is 30 minutes enough to learn Git?

Enough to understand the core ideas and start using it. Git's depth comes from practice. Use what you learn, and you'll internalize it.

Do I need GitHub, or are there alternatives?

GitHub is the most popular by a wide margin: 80.5% of professional developers use it, versus 36.7% for GitLab (source: Stack Overflow Developer Survey 2025). GitLab and Gitea are alternatives, but GitHub is the one to start with.

What should I do after watching this?

Initialize a Git repo in a folder, make changes, commit them, push to GitHub, and practice with real projects. Learning Git is 20% video, 80% doing.

More Git Courses

GitBeginner

Learn Git & GitHub

Codecademy's interactive Git course covers the entire version control workflow: commits, branches, merging, rebasing, remotes, pull requests, and collaborating on GitHub.

Rating 4.68hDetails →