Installation de GIT - balades-parisiennes/blog GitHub Wiki

📦 Installer Git sur Windows

Git est un outil indispensable pour le versionnage de vos projets. Voici comment l’installer sur Windows pas à pas.


🧰 Prérequis

  • Un PC sous Windows
  • Une connexion Internet
  • 5 minutes devant vous

1️⃣ Télécharger Git

  1. Allez sur le site officiel : https://git-scm.com
  2. Cliquez sur le bouton Download for Windows.
  3. Le téléchargement du fichier .exe démarre automatiquement.

2️⃣ Lancer l’installation

  1. Double-cliquez sur le fichier téléchargé (ex: Git-2.x.x-64-bit.exe).
  2. L'assistant d'installation s’ouvre.

Cliquez sur Next à chaque étape, en conservant les options par défaut, sauf si vous savez ce que vous faites. Voici les étapes importantes à vérifier :


Étapes clés :

  • Select Components : Laissez tout coché.
  • Choosing the default editor used by Git : Vous pouvez garder Vim ou choisir Notepad++, Visual Studio Code, etc.
  • Adjusting your PATH environment : Choisissez Git from the command line and also from 3rd-party software (option recommandée).
  • Choosing HTTPS transport backend : Laissez Use the OpenSSL library.
  • Configuring the line ending conversions : Choisissez Checkout Windows-style, commit Unix-style line endings.
  • Configuring the terminal emulator to use with Git Bash : Laissez Use MinTTY (the default terminal).

Puis cliquez sur Install.


3️⃣ Vérifier l’installation

Ouvrez Git Bash (recherchez-le dans le menu démarrer).

Tapez :

git --version