Instructions tested with Ubuntu 22.04 & 24.04 64-bit

Install Git

1. Open the Terminal program.

Windows+WSL: Select the Windows Terminal from the Windows Start menu or Search Bar.

Ubuntu: Go to “Show Applications” and Select the Terminal.

2. Type the command in red to install Git. Enter your password when prompted.

username@ubuntu:~$ sudo apt-get install git -y
[sudo] password for username:

3. Type the command in red to verify Git was installed.

username@ubuntu:~$ git --version
git version 2.34.1

4. Configure your name and email in Git.

username@ubuntu:~$ git config --global user.name "First Last"
username@ubuntu:~$ git config --global user.email username@ucsd.edu