About this Course

This course covers the essentials of using the version control system Git. You'll be able to create a new Git repo, commit changes, and review the commit history of an existing repo. You'll also learn how to keep your commits organized using tags and branches and you'll master the art of merging changes by crushing those pesky merge conflicts. Oh no! Was a mistake made along the way? Learn how to edit commits, revert changes, or even delete commits.

Course Cost
Free
Timeline
Approx. 4 weeks
Skill Level
Beginner
Included in Course
  • Icon course 01 3edf6b45629a2e8f1b490e1fb1516899e98b3b30db721466e83b1a1c16e237b1 Rich Learning Content

  • Icon course 04 2edd94a12ef9e5f0ebe04f6c9f6ae2c89e5efba5fd0b703c60f65837f8b54430 Interactive Quizzes

  • Icon course 02 2d90171a3a467a7d4613c7c615f15093d7402c66f2cf9a5ab4bcf11a4958aa33 Taught by Industry Pros

  • Icon course 05 237542f88ede3178ac4845d4bebf431ddd36d9c3c35aedfbd92e148c1c7361c6 Self-Paced Learning

  • Icon course 03 142f0532acf4fa030d680f5cb3babed8007e9ac853d0a3bf731fa30a7869db3a Student Support Community

Join the Path to Greatness

This free course is your first step towards a new career with the Full Stack Web Developer Nanodegree Program.

Free Course

Version Control with Git

Enhance your skill set and boost your hirability through innovative, independent learning.

Icon steps 54aa753742d05d598baf005f2bb1b5bb6339a7d544b84089a1eee6acd5a8543d

Course Leads

  • Richard Kalehoff
    Richard Kalehoff

    Instructor

What You Will Learn

Lesson 1

Purpose & Terminology

  • Learn why developers use version control and discover ways you use version control in your daily life
  • Get an overview of essential Git vocabulary
  • Configure Git using the command line
Lesson 1

Purpose & Terminology

  • Learn why developers use version control and discover ways you use version control in your daily life
  • Get an overview of essential Git vocabulary
  • Configure Git using the command line
Lesson 2

Create a Git Repo

  • Create your first Git repository with git init
  • Copy an existing Git repository with git clone
  • Review the current state of a repository with the powerful git status
Lesson 2

Create a Git Repo

  • Create your first Git repository with git init
  • Copy an existing Git repository with git clone
  • Review the current state of a repository with the powerful git status
Lesson 3

Review a Repo's History

  • Review a repo's commit history git log
  • Customize git log's output using command line flags in order to reveal more (or less) information about each commit
  • Use the git show command to display just one commit
Lesson 3

Review a Repo's History

  • Review a repo's commit history git log
  • Customize git log's output using command line flags in order to reveal more (or less) information about each commit
  • Use the git show command to display just one commit
Lesson 4

Add Commits to a Repo

  • Master the Git workflow and make commits to an example project
  • Use git diff to identify what parts of a file have been changed in a commit
  • Learn how to mark files as "untracked" using .gitignore
Lesson 4

Add Commits to a Repo

  • Master the Git workflow and make commits to an example project
  • Use git diff to identify what parts of a file have been changed in a commit
  • Learn how to mark files as "untracked" using .gitignore
Lesson 5

Tagging, Branching, and Merging

  • Organize your commits with tags and branches
  • Jump to particular tags and branches using git checkout
  • Learn how to merge together changes on different branches and crush those pesky merge conflicts
Lesson 5

Tagging, Branching, and Merging

  • Organize your commits with tags and branches
  • Jump to particular tags and branches using git checkout
  • Learn how to merge together changes on different branches and crush those pesky merge conflicts
Lesson 6

Undoing Changes

  • Learn how and when to edit or delete an existing commit
  • Use git commit's --amend flag to alter the last commit
  • Use git reset and git revert to undo and erase commits
Lesson 6

Undoing Changes

  • Learn how and when to edit or delete an existing commit
  • Use git commit's --amend flag to alter the last commit
  • Use git reset and git revert to undo and erase commits

Prerequisites and Requirements

This course is ideal for developers of all skill levels. Experience with the command line is beneficial, but not required.

See the Technology Requirements for using Udacity.

Why Take This Course

Version control is an incredibly important skill that every developer should master, and Git is one of the most popular version control systems used in the workforce. Whether you're working as a solo developer or working with a team, being able to track the history of a project is paramount. Tracking versions of your code will help you keep a record of progress and allow you to "undo" any blunders that occur along the way. This is incredibly important in a profession where ~96% of developers say they work on a team of engineers all working on the same code and ~67% of developers report having to check-in changes in their code at least once a day.

What do I get?
  • Instructor videos
  • Learn by doing exercises
  • Taught by industry professionals

Thanks for your interest!

We'll be in touch soon.

Icon globe e82eae5d45465aba4fbe4bb746905ce55dc3324f310b79c60e4a20089057d347

Udacity 现已提供中文版本! A Udacity tem uma página em português para você! There's a local version of Udacity for you! Sprechen Sie Deutsch?

Besuchen Sie de.udacity.com und entdecken Sie lokale Angebote, unsere Partnerunternehmen und Udacitys deutschsprachigen Blog.

前往优达学城中文网站 Ir para a página brasileira Go to Indian Site Icon flag de deedb1a7a695700236cb6ef4204ddbede5d197dab9b47716c87a0b4d5d9fc325 Zu de.udacity.com continue in English