Installing Git & Profile Configuration

💻 GitLesson 2Beginner

Before writing Git commits, you must install the application and configure your identity profiles (username and email).

1 Initial Configurations
Shell — Git Profile Config
# Configure global commit user name
git config --global user.name "Balaji Nayak"

# Configure global commit email address
git config --global user.email "balaji@test.com"

# Configure default branch name globally
git config --global init.defaultBranch main

# List all active configurations
git config --list
2 Code Challenge
Challenge: Open your terminal, verify your current Git version using git --version, configure your name and email globally, and inspect the resulting config file using git config --list.