</>
Skip to content
Git lessons (3/44)

Git — Get Started

Installation

Windows

Download from git-scm.com

macOS

brew install git

Linux

sudo apt-get install git

Verify Installation

git --version

Initial Configuration

git config --global user.name "Your Name"
git config --global user.email "your@email.com"
git config --global core.editor "code --wait"

View Configuration

git config --list
git config user.name

Create Repository

# New repository
mkdir my-project
cd my-project
git init

# Existing directory
cd existing-project
git init

First Commit

echo "# My Project" > README.md
git add README.md
git commit -m "Initial commit"

Mini Practice

  1. Install Git
  2. Configure settings
  3. Create a repository
  4. Make first commit

Up Next

Continue with Installation — detailed setup.

Related Topics

Frequently Asked Questions about Get Started

What is Get Started in Git?

Get Started is a fundamental concept in Git. This lesson explains it step by step with clear examples, making it easy for beginners to understand.

How do I learn Get Started?

Start by reading the explanation above, then try the code examples. Practice by modifying the examples and experimenting with different values. Hands-on practice is the best way to learn Get Started.

Why is Get Started important in Git?

Get Started is essential for Git development. Understanding this concept will help you write better code and solve real-world problems more effectively.