🌿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.
Open https://git-scm.com/downloads in your browser.
Choose the 64-bit Git for Windows installer if your computer is modern Windows.
Save the installer to your Downloads folder.
Step 2: Run the installer
Open the downloaded installer and follow the setup wizard.
Accept the license agreement.
Keep the default installation location unless your team tells you otherwise.
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.
Choose the default Git editor if you are not sure.
Choose the option that lets Git work from the command line and third-party software.
Keep the recommended HTTPS and line ending settings.
Step 4: Finish the installation
Complete the installer and close the setup wizard.
Click Install.
Wait for the installer to finish.
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.
Open Git Bash from the Start menu.
Type git --version and press Enter.
Confirm the terminal prints a Git version number.
git --version
The terminal shows a Git version, which confirms Git is available.
Step 6: Set your Git identity
Set the name and email address Git will attach to your commits.
Run
git config --global user.name "Your Name".Run
git config --global user.email "you@example.com".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.
Run git --version.
Run git config --global user.name.
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?

