From the course: Learning Git and GitHub
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
What is Git?
- [Instructor] Let's take a minute to examine what Git is. Now Git is what's called a version control or source control system. In essence, it lets you manage changes you've made to files over time. With Git, you're basically a historian with a time machine. You're in charge of documenting the history of your project with the added benefit of being able to jump back and forth through time. But unlike normal historians, you have the ability to rewrite history. Now you can save checkpoints, which are called commits and leave messages about what happened at each of these different checkpoints. The best part is another feature called branching that lets you create alternate versions of your code. It's like being able to create alternate realities of your project. A branch is a copy of your project that you can work on with or without changing the original. You can then synchronize branches, which is called merging, or go back…
Contents
-
-
-
Understanding version control1m 53s
-
(Locked)
What is Git?2m 16s
-
(Locked)
Setting up Git4m 35s
-
(Locked)
Understanding Git environments5m 51s
-
(Locked)
Ignoring files4m 5s
-
(Locked)
Deleting and renaming files6m 8s
-
(Locked)
Differences4m 9s
-
(Locked)
Changing history12m 7s
-
(Locked)
Branches6m 13s
-
(Locked)
Merge conflicts10m 7s
-
(Locked)
Git stash and clean9m 27s
-
-
-
-
-