Git Cheatsheet
Interactive Git commands with examples and common workflows.
git config --global user.name "[name]"Set your username globally
Example:
git config --global user.name "John Doe"git config --global user.email "[email]"Set your email globally
Example:
git config --global user.email "john@example.com"git config --listList all Git configurations
git initInitialize a new Git repository
git clone [url]Clone a repository from URL
Example:
git clone https://github.com/user/repo.git