Skip to main content

Introduction to Git

4.2+
48 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 Exercises
14,677 Learners

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

In the following tracks

Data EngineerData Scientist Professional with PythonData Scientist Professional with RPython ProgrammerR Programmer

Collaborators

Collaborator's avatar
Jasmin Ludolf
Collaborator's avatar
Izzy Weber
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.2
from 48 reviews
54%
27%
10%
8%
0%
Sort by
  • Juan L.
    8 days

    Excellent course

  • Andrey A.
    19 days

    Git essentials are clearly explained, practice lessons make it easy to remember

  • Miguel V.
    about 1 month

    Great course but more exercises would be really helpful. In other courses there is an option to practice the concepts after each chapter and also after the course with additional practical exercises. This lacks in this course.

  • Jonathan C.
    about 2 months

    Great course, very useful slides and videos!

  • Andy T.
    3 months

    A great introductory course covering the importance of Git.

"Excellent course"

Juan L.

"Git essentials are clearly explained, practice lessons make it easy to remember"

Andrey A.

"Great course but more exercises would be really helpful. In other courses there is an option to practice the concepts after each chapter and also after the course with additional practical exercises. This lacks in this course."

Miguel V.

FAQs

Join over 12 million learners and start Introduction to 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.