Skip to main content
Dan Rodney/1 min read

Download & Install Git on Mac & Windows

Git Daily Workflow

1

Pull Latest

git pull origin main — start with up-to-date code.

2

Create a Branch

git checkout -b feature/X — never commit directly to main.

3

Commit Often

Small, focused commits with clear messages.

4

Push & PR

git push, then open a pull request for review.

Build Programming Foundations at Noble Desktop

Noble Desktop's Full-Stack Web Development Certificate teaches Git alongside the modern web stack — a must for any developer.

Learn how to install Git on your computer, with explicit directions tailored to both Mac and Windows operating systems, to enhance the integration of your Visual Studio Code software.

Installing Git

Visual Studio Code integrates with the Git software installed on your computer. So to use Git, you must first install it. Installing Git is different on Mac and Windows, so follow the appropriate instructions below depending on your operating system.

Mac: Download & Install Git

  1. Go to Applications > Utilities and open Terminal.app.
  2. In the Terminal window, type the following and press Return:

    Git—version

  3. If it tells you a Git version number, you already have Git installed. If you do not have it installed, you’ll be prompted to download and install the Xcode developer tools (which include Git). Proceed with the download/install process until it’s done.

Windows: Download & Install Git

  1. Open a web browser and go to Git-scm.com/download
  2. Click the download button.
  3. Launch the installer you downloaded and:

    Most of default options should be find but on the Choosing the default editor used by Git screen choose Use Visual Studio Code as Git’s default editor.

    Otherwise just keep clicking Next to go through the installer.