Git Setup

This post is a brief introduction to using Git using the command-line tool git. You would enter these commands in a UNIX shell such as bash or zsh.

The following assumes you have already authenticated GitHub.

Git Setup

Once you have a bash shell with the git command, you set up your local git account with your full name and email. Here is how I set up my account:

You only need to set up your account once on a particular computer. You may have to set it up separately on Windows and WSL.

You can then verify that you set it up correctly: