setup
БесплатноЗапускает вложенные скриптыНе проверенComplete guide to installing Git and performing basic configuration across all platforms (Windows, macOS, Linux, WSL). Use when setting up Git for the first…
Об этом скилле
Git Setup
Complete guidance for installing Git and performing essential initial configuration across Windows, macOS, Linux, and WSL environments.
Table of Contents
- Quick Start - Windows, macOS, Linux
- Platform Detection - Identify your platform
- Installation Guides - Windows, macOS, Linux, WSL
- Basic Configuration - User identity, default branch, editor
- Verification - Test your Git installation
- Configuration Files - Where Git stores settings
- Reference Loading - How references are loaded
- Next Steps - Advanced configuration with other skills
Overview
This skill helps you:
- Install Git using the best method for your platform
- Configure essential Git settings (user identity, default branch, editor)
- Verify your installation is working correctly
- Understand platform-specific considerations
- Get started quickly with recommended defaults
For advanced configuration (aliases, performance tuning, credential management, maintenance), see the git-config skill.
When to Use This Skill
Use this skill when:
- Installing Git on a new development machine
- Setting up Git for the first time on any platform
- Configuring user identity and basic Git settings
- Verifying Git installation is working correctly
- Troubleshooting Git installation issues
- Understanding platform-specific Git installation options
- Setting up Git on Windows, macOS, Linux, or WSL
Quick Start
Fastest path to getting Git installed and configured:
Windows
# Install Git
winget install --id Git.Git -e --source winget
# Configure identity
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main
# Verify
git --version
macOS
# Install Git
brew install git
# Configure identity
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main
# Verify
git --version
Linux
# Install Git (Ubuntu/Debian)
sudo apt update && sudo apt install git
# Configure identity
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main
# Verify
git --version
Platform Detection
When helping users with Git installation, detect their platform using environment indicators:
- Windows:
$env:OScontains "Windows", PowerShell commands,winget, file paths likeC:\ - macOS:
uname -sreturns "Darwin", Homebrew (brew),~/.zshrc - Linux:
uname -sreturns "Linux", package managers (apt,dnf,pacman),~/.bashrc - WSL: Linux kernel + Windows integration (e.g.,
/mnt/c/),wsl.exeavailable
Provide platform-specific guidance automatically based on detected or stated platform.
Windows Installation
Two installation options: Git for Windows Installer (full control, recommended) or winget (quick install). Includes Windows-specific configuration (long paths, system-level settings) and troubleshooting.
📚 Full guide: references/install-windows.md
Topics covered: Installation options, verification, Windows-specific configuration, Win32 long paths, troubleshooting, Git Bash history issues
macOS Installation
Two installation options: Xcode Command Line Tools (quick, built-in) or Homebrew (latest version, recommended). Includes macOS-specific configuration, shell integration (Zsh/Bash), and global gitignore setup.
📚 Full guide: references/install-macos.md
Topics covered: Installation options, verification, line ending configuration, Zsh/Bash shell integration, global gitignore
Linux Installation
Installation via package manager: apt (Ubuntu/Debian), dnf (Fedora/RHEL), or pacman (Arch Linux). Includes Linux-specific configuration, shell integration (Bash/Zsh), and global gitignore setup.
📚 Full guide: references/install-linux.md
Topics covered: Distribution-specific installation, verification, line ending configuration, Bash/Zsh shell integration, global gitignore
WSL (Windows Subsystem for Linux)
WSL runs Linux (Ubuntu by default), so Git installation is identical to native Linux. Includes WSL-specific configuration and performance considerations.
📚 Full guide: references/install-wsl.md
Topics covered: Installation (same as Linux), verification, WSL-specific configuration, filesystem performance notes, Windows integration, credential sharing
Basic Configuration (All Platforms)
After installing Git, configure these essential settings:
Set User Identity (Required)
git
Установить setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashGlobGrepВложенные файлы
FAQ
Что делает скилл setup?
Complete guide to installing Git and performing basic configuration across all platforms (Windows, macOS, Linux, WSL). Use when setting up Git for the first time, installing Git on new systems, configuring user identity, setting default branch, choosing editor, verifying installation, or troubleshooting Git installation issues. Covers platform-specific installation methods, basic required configuration, and verification steps.
Как установить скилл setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл setup запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic