Downloading Git
- Git course
- Beginner
- Lesson 5/80
- 4 min
Learn how to download Git from the official site.
Download Git from the Official Website
You can download Git from the official git-scm.com website. The download section offers options for different operating systems. Select your platform to download the appropriate installation file.
https://git-scm.com/downloadsChoosing a Platform
Git can be used on different operating systems. The download page provides separate options for Windows, macOS, and Linux. Choose the download link that matches your computer's operating system.
Windows → Windows installer
macOS → macOS download
Linux → Distribution packagesPractice Build the Download Address
Assign Git's official download address to the downloadUrl variable. Then print this variable using console.log().
Starter code
// İndirme adresini bir değişkene ata
// Adresi ekrana yazdırSample solution
const downloadUrl = "https://git-scm.com/downloads";
console.log(downloadUrl);Expected output
https://git-scm.com/downloads
Questions and answers
Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.
1 Where should you download Git from?
- From a web browser's extension store
- From the official git-scm.com website Correct answer
- From a random file-sharing website
- From inside a text editor
Explanation: The official Git website reliably provides download options for your operating system.
2 Windows Download Option
const platform = "____";
console.log(platform);
const platform = "windows";
console.log(platform);
Explanation: On a Windows computer, you should use the download option provided for Windows.
3 Download Options
| Term | Meaning |
|---|---|
git-scm.com |
Git's official website |
Windows |
Windows installer |
macOS |
Mac computer platform |
Linux |
Distribution-specific packages |