Skip to main content
HomeProgrammingLearn Git

Learn Git

4.3+
76 reviews
Beginner

Familiarize yourself with Git for version control. Explore how to track, compare, modify, and revert files, as well as collaborate with colleagues using Git.

Start Course for Free
4 hours16 videos56 exercises42,002 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

This course introduces learners to version control using Git. You will discover the importance of version control when working on data science projects and explore how you can use Git to track files, compare differences, modify and save files, undo changes, and allow collaborative development through the use of branches. You will gain an introduction to the structure of a repository, how to create new repositories and clone existing ones, and show how Git stores data. By working through typical data science tasks, you will gain the skills to handle conflicting files.
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Certification Available

Data Scientist in Python

Go To Track
Certification Available

Data Scientist in R

Go To Track
Certification Available

Data Engineer in Python

Go To Track
  1. 1

    Introduction to Git

    Free

    In the first chapter, you’ll learn what version control is and why it is essential for data projects. Then, you’ll discover what Git is and how to use it for a version control workflow.

    Play Chapter Now
    Introduction to version control with Git
    50 xp
    Using the shell
    50 xp
    Checking the version of Git
    100 xp
    Saving files
    50 xp
    Where does Git store information?
    50 xp
    The Git workflow
    100 xp
    Adding a file
    100 xp
    Adding multiple files
    100 xp
    Comparing files
    50 xp
    What has changed?
    50 xp
    What is going to be committed?
    100 xp
    What's in the staging area?
    50 xp
  2. 3

    Git workflows

    In this chapter, you'll learn tips and tricks for configuring Git to make you more efficient! You'll also discover branches, identify how to create and switch to different branches, compare versions of files between branches, merge branches together, and deal with conflicting files across branches.

    Play Chapter Now
  3. 4

    Collaborating with Git

    This final chapter is all about collaboration! You'll gain an introduction to remote repositories and learn how to work with them to synchronize content between the cloud and your local computer. You'll also see how to create new repositories and clone existing ones, along with discovering a workflow to minimize the risk of conflicts between local and remote repositories.

    Play Chapter Now
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more

In the following Tracks

Certification Available

Data Scientist in Python

Go To Track
Certification Available

Data Scientist in R

Go To Track
Certification Available

Data Engineer in Python

Go To Track

In other tracks

Associate AI Engineer for Data ScientistsPython DeveloperR Developer

collaborators

Collaborator's avatar
Amy Peterson
Collaborator's avatar
Izzy Weber
Collaborator's avatar
Jasmin Ludolf
George Boorman HeadshotGeorge Boorman

Curriculum Manager, DataCamp

George is a Curriculum Manager at DataCamp. He holds a PGDip in Exercise for Health and BSc (Hons) in Sports Science and has experience in project management across public health, applied research, and not-for-profit sectors. George is passionate about sports, tech for good, and all things data science.
See More

Don’t just take our word for it

*4.3
from 76 reviews
57%
25%
12%
5%
1%
Sort by
  • Rupa L.
    about 1 month

    Learned more on git through practical exercises

  • Javier L.
    about 1 month

    I really like the lectures format and the integrated interface for the exercises. I haven’t found anything like it no other place matches your quality and content

  • Isabelle J.
    about 1 month

    very good

  • TAMANNA U.
    6 months

    It was very easy to understand and the problems helped me gain intuition.

  • Lyndon H.
    6 months

    Having blindly typed in a set of instructions before the course, I now know what the instructions mean and why I do them

"Learned more on git through practical exercises"

Rupa L.

"I really like the lectures format and the integrated interface for the exercises. I haven’t found anything like it no other place matches your quality and content"

Javier L.

"very good"

Isabelle J.

FAQs

Join over 14 million learners and start Learn Git today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.