Recall & Review
beginner
What is Git?
Git is a tool that helps you save and track changes in your files, especially code. It works like a save button that remembers every change you make.
Click to reveal answer
beginner
How do you check if Git is already installed on your computer?
Open your command line and type
git --version. If Git is installed, it will show the version number. If not, it will say the command is not found.Click to reveal answer
beginner
What command installs Git on Ubuntu Linux?
Use
sudo apt update to refresh your package list, then sudo apt install git to install Git.Click to reveal answer
beginner
How do you install Git on Windows?
Download the Git installer from the official website git-scm.com and run it. Follow the steps in the setup wizard.
Click to reveal answer
beginner
Why is it important to set your user name and email after installing Git?
Git uses your name and email to label your changes. This helps others know who made each change when working together.
Click to reveal answer
Which command checks if Git is installed on your system?
✗ Incorrect
The command
git --version shows the installed Git version or an error if Git is not installed.On Ubuntu Linux, which command installs Git?
✗ Incorrect
Ubuntu uses
apt for package management, so sudo apt install git installs Git.Where do you download Git for Windows?
✗ Incorrect
The official Git website provides the Windows installer at
https://git-scm.com/download/win.What is the first step before installing Git on Ubuntu?
✗ Incorrect
Running
sudo apt update refreshes the package list to get the latest versions before installing.Why do you set your user name and email in Git after installation?
✗ Incorrect
Git uses your name and email to identify who made each change in a project.
Explain the steps to install Git on a new Ubuntu Linux system.
Think about updating package info and then installing Git.
You got /3 concepts.
Describe how to verify Git installation and why setting user info is important.
Start with checking version, then explain user identity in Git.
You got /3 concepts.