Skip to main content

Introduction to Version Control with Git

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 Exercises2,732 Learners4150 XP

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.

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.
  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's 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

Collaborators

izzyweber-9bc35945-95bd-423b-833e-40780c76586f
Izzy Weber
jasminludolf
Jasmin Ludolf
George Boorman Headshot

George Boorman

Analytics and Data Science Curriculum Manager, DataCamp

George is an Analytics and Data Science 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

What do other learners have to say?

Join over 10 million learners and start Introduction to Version Control with 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.