Skip to main content
  1. Posts/

How To Setup Git Username & Email

1 min· 0 · 0 · ·
Zaney
How To Tools Tutorial Development Git Gitlab
Zaney
Author
Zaney
I am creating content about Linux & FOSS software. You’ll find me rocking NixOS with Hyprland, probably helping somebody with a question. 😎
Table of Contents

Here’s a quick explanation for installing Git on Windows and Linux:

Windows Install #

1. Download The Installer: #

Go to git-scm.com and download the Git for Windows installer.

2. Run the Installer: #

  • Double-click the installer and follow the setup wizard.
  • Choose default settings unless you have specific preferences (e.g., editor, PATH options).

3. Verify Installation: #

  • Open Command Prompt or PowerShell.
  • Run:
git --version

Linux Install #

1. Open Terminal: #

Every Linux distro comes with a terminal emulator. If you search for terminal in your applications you should find an option. Just open that and then move on to the next step.

2. Install Git: #

  • For Debian/Ubuntu:
sudo apt update && sudo apt install git
  • For Fedora:
sudo dnf install git
  • For Arch:
sudo pacman -S git

3. Verify Installation: #

git --version

Setting Git Username #

Setting your Git user.name is actually quite simple. You just want to open a terminal and run this command:

git config --global user.name "My Name"

Setting Git Email #

This is just as simple as the step before, simply run:

git config --global user.email "myemail@example.com"

Related

How To Install Hugo, Add A Theme, & Deploy to GitLab Pages
4 mins· 0 · 0
Zaney
Software Tools Web How To Hugo Website Tutorial Development Gitlab
Why You Should Self-Host Jellyfin at Home
3 mins· 0 · 0
Zaney
How To Tools Tutorial Development Jellyfin
How To Add Ads To Hugo Website Using Blowfish Theme
4 mins· 0 · 0
Zaney
How To Tools Tutorial Development Hugo
The Complete Guide to Setting Up Your Own NAS
6 mins· 0 · 0
Zaney
How To Tools Tutorial NAS
The Ultimate Guide to Website Flipping: Turning Digital Properties into Profitable Ventures
5 mins· 0 · 0
Zaney
How To Tools Tutorial Website Flipping
A Complete Introduction to Linux: An Actual Helpful Resource For Beginners
10 mins· 0 · 0
Zaney
Software Tools How To Linux RHEL Intro to Linux Beginner Linux Guide Introduction to Linux