Comprehensive Git configuration guide covering global settings, aliases, performance tuning, credential management, maintenance, .gitattributes, clone shortcuts, and troubleshooting. Use when configuring Git beyond basic setup, optimizing Git performance, setting up aliases, managing credentials (GitHub CLI, Windows Credential Manager), configuring line ending strategy, setting up .gitattributes, enabling Git maintenance, or troubleshooting configuration issues. Cross-platform guidance for Windows, macOS, and Linux.
View on GitHubmelodic-software/claude-code-plugins
git
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/melodic-software/claude-code-plugins/blob/main/plugins/git/skills/git-config/SKILL.md -a claude-code --skill git-configInstallation paths:
.claude/skills/git-config/# Git Configuration Comprehensive guidance for configuring Git beyond basic installation. This skill covers global configuration, performance optimization, aliases, credential management, maintenance, and advanced configuration topics. ## Table of Contents - [Overview](#overview) - [When to Use](#when-to-use-this-skill) - [Quick Start](#quick-start) - [Configuration Files](#configuration-file-locations) - [Global Settings](#global-configuration-settings) - [Rerere](#managing-rerere-reuse-recorded-resolution) - [Line Endings](#line-ending-strategy-defense-in-depth) - [Aliases](#aliases) - [Clone Shortcuts](#clone-shortcuts) - [Repository-Level Config](#repository-level-configuration) - [Maintenance](#maintenance) - [Git Attributes](#git-attributes) - [Credentials](#git-credential-management) - [Troubleshooting](#troubleshooting) - [Test Scenarios](#test-scenarios) ## Overview This skill helps you: - Configure Git globally for optimal performance and workflow - Set up powerful aliases to streamline common operations - Manage Git credentials securely (GitHub CLI, Windows Credential Manager) - Configure `.gitattributes` for line ending control - Enable Git maintenance for better repository performance - Understand repository-level vs global configuration - Troubleshoot common configuration issues **For basic Git installation and setup**, see the **setup** skill. ## Example Use Cases This skill activates for questions like: - "How do I set up Git aliases for common operations?" - "Configure Git to use GitHub CLI for authentication" - "My Git is slow on large repos - how can I optimize performance?" - "Set up .gitattributes for cross-platform development" - "Enable Git background maintenance" - "Troubleshoot 'refusing to allow OAuth App to create workflow' error" - "Configure Git credential helpers on Windows" - "Set up clone shortcuts for frequently-used repositories" - "Configure rerere to remember merge conflict resolutions" ## When to Use This Skill Use th