Flash cards
Review the key moves
What is the main idea behind Git Tutorial?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
Which statement best captures the main point of this lesson?
Complete the missing token from the example code.
___ --versionPut the learning moves in the order that makes the concept easiest to apply.
Learn Git
Git is a free, open source tool that helps you save and manage different versions of your files and code.
With Git, you can work with others, keep track of changes, and undo mistakes.
Where to use Git?
Git works on your computer, but you also use it with online services like GitHub , GitLab , or Bitbucket to share your work with others. These are called remote repositories .
In this tutorial, you'll learn how to use Git for your own projects and how to connect with remote repositories online.
In this tutorial, we will show you Git commands like this:
Example
git --version
git version 2.30.2.windows.1For new users, using the terminal view can seem a bit complicated.
Don't worry! We will keep it really simple, and learning this way gives you a good grasp of how Git works.
In the code above, you can see commands (input) and output.
Lines like this are commands we input:
Example
git --versionLines like this are the output/response to our commands:
Example
git version 2.30.2.windows.1In general, lines with $ in front of it is input.
These are the commands you can copy and run in your terminal.
Tip for Beginners: Don't worry about making mistakes!
When you use Git on your own computer, you can't really break anything important.
Experimenting is a great way to learn, and you can always undo or redo changes as you go.
What Changes When You Switch Platform?
The tutorial can show examples for GitHub, GitLab, or Bitbucket.
The Git commands are mostly the same, but some steps (like connecting to a remote or pushing code) might look a little different depending on the platform you choose.