# Git Commands
A collection of essential Git commands with explanations and examples for quick reference.
Useful for beginners and developers to manage version control efficiently.
## π Overview
This repository provides a concise list of commonly used Git commands categorized for easy understanding.
Each command includes a short description and example usage to help you learn and apply Git effectively.
## π§© Categories
- **Setup and Configuration**
- **Repository Initialization**
- **Branching and Merging**
- **Staging and Committing**
- **Remote Repositories**
- **Undoing Changes**
- **Viewing History**
- **Tagging and Releases**
## π» Example Commands
### Initialize a Repository
```bash
git initCreates a new Git repository in the current directory.
git clone <repository-url>Copies an existing repository to your local machine.
git statusDisplays the current state of your working directory and staging area.
git commit -m "Your commit message"Records staged changes to the repository.
- Use
git log --onelinefor a compact commit history. - Use
git diffto review changes before committing. - Always pull before pushing to avoid conflicts.
This project is open source and available under the MIT License.
Akshay Karthick S
GitHub | LinkedIn