Git Fundamentals - A Beginner's Guide to Managing Your Code
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Git Fundamentals - A Beginner's Guide to Managing Your Code
Included with
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Use advanced Git commands such as git log, git stash, and git revert to manage your code and history efficiently.
Understand GitHub workflows for collaboration, including pull requests and code reviews.
Master essential Git commands like cloning, staging, committing, and pushing code to repositories.
Set up Git and configure it on your local machine for effective code management.
Details to know
May 2026
6 assignments
See how employees at top companies are mastering in-demand skills
There are 6 modules in this course
This course features Coursera Coach!
A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this beginner-friendly course, you’ll learn Git essentials for managing code efficiently. You will start by setting up Git on your machine, understanding its purpose, and differentiating between Git and GitHub. Throughout the course, you’ll work with key Git concepts like cloning repositories, staging changes, committing, pushing, and pulling code. You will also explore more advanced Git commands like git log, git stash, and git revert to streamline your workflow. As you progress, you will dive into GitHub-specific workflows, like forking, pull requests, and code reviews, which are essential for collaboration. You'll also master branching to manage features and fixes independently, along with learning how to exclude files using .gitignore. The course equips you with the fundamental tools and skills needed to manage code and collaborate effectively in a team environment. This course is perfect for beginners who want to learn Git for version control and collaboration. No prior experience with Git or GitHub is required. By the end of the course, you will be able to set up Git, manage code repositories, collaborate with others using GitHub, and implement advanced Git commands for efficient version control.
In this module, we will introduce you to the Git Fundamentals course, providing an overview of what you will learn and how each section builds upon the previous one. You'll also get a clear understanding of the tools and downloads you need to start using Git effectively.
What's included
1 video1 reading
1 video•Total 1 minute
- Welcome to the Course!•1 minute
1 reading•Total 10 minutes
- Full Course Resources•10 minutes
In this module, we will guide you through setting up Git, ensuring that you’re ready to use Git-based workflows. From installing Git to understanding the differences between Git and GitHub, this section provides the essential foundation to start working with version control and repositories.
What's included
8 videos1 assignment
8 videos•Total 54 minutes
- Section Introduction•1 minute
- What Is Git?•13 minutes
- Difference Between Git and GitHub•7 minutes
- Installing Git on Your Machine•5 minutes
- Introduction to the Git CLI•6 minutes
- Configuring Global Settings & Values•6 minutes
- Creating a Repo on GitHub•6 minutes
- Initialize a Repo•11 minutes
1 assignment•Total 15 minutes
- Git Started the Right Way: Setup & Foundations - Assessment•15 minutes
In this module, we will cover all the essential Git commands that every developer should know. You will learn how to manage repositories, commit code, collaborate with branches, and handle specific GitHub workflows. By the end, you'll be able to efficiently manage and track your code in both local and remote repositories.
What's included
11 videos1 assignment
11 videos•Total 73 minutes
- Section Introduction•1 minute
- The GitHub Workflow•8 minutes
- Cloning a Repo•6 minutes
- Stage and Unstage Files•10 minutes
- Commits•5 minutes
- Push Code to the Remote Repository•4 minutes
- Pull Changes from the Remote Repository•5 minutes
- Introduction to Branches•10 minutes
- Branching Demo: Create, Switch, and Merge Branches•6 minutes
- Ignoring Specific Files with gitignore•12 minutes
- What Is a README File?•6 minutes
1 assignment•Total 15 minutes
- Git Basics That Everybody Should Know - Assessment•15 minutes
In this module, we dive into more advanced Git commands that will take your skills to the next level. You’ll learn how to use commands like git log to view history, git stash to temporarily save changes, and git revert/reset to manage and undo commits—perfect for managing complex workflows and large codebases.
What's included
5 videos1 assignment
5 videos•Total 24 minutes
- Section Intro•1 minute
- Git Log•4 minutes
- Git Stash•4 minutes
- Git Revert•4 minutes
- Git Reset•10 minutes
1 assignment•Total 15 minutes
- Next-Level Git Commands You'll Actually Use - Assessment•15 minutes
In this module, we focus on Git’s collaboration features, teaching you how to work seamlessly with others. You’ll learn how to fork repositories, create pull requests, and conduct thorough code reviews, making you a more effective team player in any development environment.
What's included
4 videos1 assignment
4 videos•Total 30 minutes
- Section Intro•1 minute
- Fork a Repo•13 minutes
- Pull Requests•10 minutes
- Code Reviews•6 minutes
1 assignment•Total 15 minutes
- Git Essentials You Need to Collaborate Like a Pro - Assessment•15 minutes
In this final module, we celebrate your completion of the Git Fundamentals course! We’ll recap the key skills you've gained and offer guidance on continuing your journey with Git and version control. You'll be ready to confidently manage your code and collaborate on any project moving forward.
What's included
1 video2 assignments
1 video•Total 1 minute
- Congrats! You've Completed the Course•1 minute
2 assignments•Total 75 minutes
- Full Course Assessment•60 minutes
- Full Course Practice Assessment•15 minutes
Instructor
Explore more from Software Development
- Status: Free Trial
- Status: Free Trial
Course
- Status: Free Trial
Course
- P
Packt
Course
Why people choose Coursera for their career
Frequently asked questions
Git is a version control system that helps you track changes in your code, manage different versions of a project, and collaborate more effectively with others. It is highly relevant for developers because it makes it easier to organize work, experiment safely, fix mistakes, and contribute to shared projects without losing progress.
This course is a beginner-friendly introduction to Git and GitHub, designed to help you understand how modern code management works. You will learn how to install and configure Git, use the Git command line, create and initialize repositories, work with commits, push and pull changes, manage branches, use helpful commands like git log, stash, revert, and reset, and collaborate using forks, pull requests, and code reviews.
After completing this course, you will be able to set up Git on your machine, create and manage repositories locally and on GitHub, track changes in your files, work with branches, document projects with a README, ignore unnecessary files with .gitignore, and use core collaboration workflows such as forking repositories, creating pull requests, and participating in code reviews.
More questions
Financial aid available,
