Introduction to Git

This course is an introduction to version control with Git for data scientists.
Start Course for Free
4 Hours46 Exercises104,616 Learners
3650 XP

Create Your Free Account

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies

Course Description

Version control is one of the power tools of programming. It allows you to keep track of what you did when, undo any changes you decide you don't want, and collaborate at scale with other people. This course will introduce you to Git, a modern version control tool that is very popular with data scientists and software developers, and show you how to use it to get more done in less time and with less pain.

  1. 1

    Basic workflow

    This chapter explains what version control is and why you should use it, and introduces the most common steps in a common Git workflow.
    Play Chapter Now
  2. 2


    This chapter digs a little deeper into how Git stores information and how you can explore a repository's history.
    Play Chapter Now
  3. 3


    Since Git saves all the changes you've made to your files, you can use it to undo those changes. This chapter shows you several ways to do that.
    Play Chapter Now
  4. 4

    Working with branches

    Branching is one of Git's most powerful features, since it allows you to work on several things at once. This chapter shows you how to create and manage branches.
    Play Chapter Now
  5. 5


    This chapter showcases how Git allows you to share changes between repositories to collaborate at scale.
    Play Chapter Now
Filip Schouwenaars
DataCamp Content Creator Headshot

DataCamp Content Creator

Course Instructor
DataCamp offers interactive R, Python, Spreadsheets, SQL and shell courses. All on topics in data science, statistics, and machine learning. Learn from a team of expert teachers in the comfort of your browser with video lessons and fun coding challenges and projects.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA