Windows install
- Git course
- Beginner
- Lesson 6/80
- 4 min
Learn the Git install steps on Windows.
Installing Git on Windows
To install Git on Windows, download the Windows installer from the official website. Open the downloaded .exe file to start the installation wizard. The default options offered during installation are generally sufficient for beginners.
Git-2.x.x-64-bit.exeWhat Is Git Bash?
Git Bash lets you run Git commands in a terminal-like environment on Windows. After installation, you can open Git Bash from the Start menu. You can use Git commands in the command line to check that the installation works.
git --versionPractice Display the Git Version on Windows
Assign the command to be used in Git Bash to the command variable. Store the version number in the release variable. Print both values separately using console.log().
Starter code
const command = "";
const release = "";
// Komutu ve sürüm bilgisini yazdırSample solution
const command = "git --version";
const release = "2.45.0";
console.log(command);
console.log("git version " + release);Expected output
git --version git version 2.45.0
Questions and answers
Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.
1 Which file starts the installation on Windows?
- An .exe installer file Correct answer
- An .mp3 audio file
- A .jpg image file
- A .txt text file
Explanation: The downloaded Git installer for Windows has an .exe extension and is opened by running it.
2 Identify the Git Bash Application
const terminal = "____";
console.log(terminal);
const terminal = "Git Bash";
console.log(terminal);
Explanation: Git Bash is the terminal application where you can run Git commands on Windows.
3 Windows Installation Components
| Term | Meaning |
|---|---|
.exe |
Windows executable file |
Git Bash |
Runs Git commands |
Kurulum sihirbazı |
Displays installation steps |
Başlat menüsü |
Place to open the application |