Getting Started with Git

This guide assumes that you are using Git Bash (for Windows) or the terminal (for MacOS and Linux) as we will be using bash commands. If you are facing issues with running certain commands (especially on Windows), please consider using Git Bash instead.

To follow along this guide, you need to install the following:

To ensure that everything is working, run the following commands:

git version

You should see text like this:

git version 2.42.0

Once Git is setup on your local machine, do some initial configuration:

git config --global user.email "<your email>"
git config --global user.name "<your name>"

Then, setup Github as such:

  1. Create a new Github account if you don’t have an account

  2. Connecting to Github with SSH

    1. Generate a new SSH key

    2. Add the SSH key to Github

To verify that Github is working, refer to this guide and run the given command (ssh -T [email protected]) to ensure that your SSH connection is working correctly.

For this workshop, you'll also need lazygit. Follow the instructions here

Last updated