Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

🌿Setting up Git

Use this process when you need Git installed on your Windows computer before connecting a Sandbox Studio project to version control. Git tracks project changes so you can review work, save checkpoints, and collaborate safely.

Step 1: Download Git for Windows

Download the Git for Windows installer from the official Git website: https://git-scm.com/downloads.

  1. Open https://git-scm.com/downloads in your browser.

  2. Choose the 64-bit Git for Windows installer if your computer is modern Windows.

  3. Save the installer to your Downloads folder.

Step 2: Run the installer

Open the downloaded installer and follow the setup wizard.

  1. Accept the license agreement.

  2. Keep the default installation location unless your team tells you otherwise.

  3. Keep the default components selected.

The setup wizard shows the default installation choices before installation continues.

Step 3: Keep the default terminal options

Use the installer defaults for editor, PATH, HTTPS, and line ending options unless your team has a different standard.

  1. Choose the default Git editor if you are not sure.

  2. Choose the option that lets Git work from the command line and third-party software.

  3. Keep the recommended HTTPS and line ending settings.

TIP: The default options work for most Sandbox Studio creators and keep Git available to Git Bash, Fork, and other tools.

Step 4: Finish the installation

Complete the installer and close the setup wizard.

  1. Click Install.

  2. Wait for the installer to finish.

  3. Leave Launch Git Bash checked if you want to confirm the installation right away.

The installer confirms Git has finished installing.

Step 5: Confirm Git is installed

Open Git Bash or a terminal and check the installed Git version.

  1. Open Git Bash from the Start menu.

  2. Type git --version and press Enter.

  3. Confirm the terminal prints a Git version number.

git --version

The terminal shows a Git version, which confirms Git is available.

TIP: If Windows says git is not recognized, close the terminal and open it again. If that does not work, rerun the installer and confirm Git was added to PATH.

Step 6: Set your Git identity

Set the name and email address Git will attach to your commits.

  1. Run git config --global user.name "Your Name".

  2. Run git config --global user.email "you@example.com".

  3. Check the values with git config --global --list.

git config --global --list

Step 7: Confirm the setup

Check that Git is installed and your identity is configured before connecting a project.

  1. Run git --version.

  2. Run git config --global user.name.

  3. Run git config --global user.email.

The terminal confirms Git is installed and your commit identity is ready.

What You've Done

You have installed Git for Windows, confirmed it works from the terminal, and set the name and email Git will use for commits. Next, connect Git to a Sandbox Studio project so your project changes can be tracked.

Last updated

Was this helpful?