Git Installation (Windows)

there are many ways to install git on a mac and you may already have it installed. If you are not sure, open Powershell, type git --version, and press enter. If you get a version number, you are good to go. If not, follow one the installation paths below.




GitHub Desktop (easiest)

GitHub Desktop is a GUI for git that makes it easy to manage your git repositories. It will install git for you if it is not already installed.

  1. Go to desktop.github.com
  2. Click the Download for windows button
  3. Open the downloaded file
  4. Follow the prompts to install GitHub Desktop
  5. open GitHub Desktop
  6. Click Sign in if you already have a GitHub account, or click *Create account to create one
  7. You're all set!


Executable


  1. Go to the git downloads page
  2. Click the Windows icon
  3. Click the 64-bit Git for Windows Setup button
  4. Open the downloaded file
  5. Follow the prompts to install git
  6. Open Powershell
  7. check that git is installed by opening a terminal, typing git --version, and pressing enter. You should see something like git version 2.30.1.windows.1

if Git is still not installed, try restarting your computer and checking again



winget

winget is a package manager for Windows. It allows you to install and manage software packages from the command line.


  1. check if winget is installed by opening a terminal, typing winget --version, and pressing enter. If you get a version number, skip to step 4.
  2. install winget
  3. Restart your computer
  4. Open powershell and paste the following command:
    winget install --id Git.Git -e --source winget
    
  5. check that git is installed by opening a terminal, typing git --version, and pressing enter. You should see something like git version 2.30.1.windows.1

if Git is still not installed, try restarting your computer and checking again