github-cheat-sheet

A list of cool features of Git and GitHub.

21 articles 55.5k View on GitHub ↗
21 articles
When to Use Relative Links vs Absolute Links in GitHub README Files

Learn when to use relative links versus absolute links in GitHub READMEs. Master linking internal repo content and external resources for better project documentation.

tutorial
Mar 6, 2026
How to Effectively Use Emojis in GitHub Commit Messages and Issue Descriptions

Learn to use emojis in GitHub commit messages and issue descriptions for visual context. Make project history scannable and searchable with shortcodes like :bug: and :sparkles:.

best-practices
Mar 6, 2026
Methods for Converting a GitHub Repository to a Template for Reusable Boilerplate

Convert GitHub repositories into reusable templates easily. Use the template repository option for simple boilerplate creation and programmatic generation via GitHub CLI or API.

how-to-guide
Mar 6, 2026
How to Access User Public SSH Keys via GitHub API Endpoints

Discover how to access user public SSH keys via GitHub API endpoints. Learn to retrieve keys using both the REST endpoint and the legacy shortcut for easy access.

how-to-guide
Mar 6, 2026
How to Generate GitHub Code URLs with Line Highlighting and Range Selection

Master GitHub code URL generation with line highlighting and range selection. Easily reference specific code snippets for reviews and documentation. Learn the simple `#L<number>` and `#L<start>-L<end>` syntax.

how-to-guide
Mar 6, 2026
Git Branch --merged vs --no-merged: Essential Guide to Safe Branch Cleanup

Safely clean up your Git branches. Learn the difference between git branch --merged and --no-merged to prevent losing work and identify deletable branches.

how-to-guide
Mar 6, 2026
What Is Git instaweb and How to Use It to Browse Local Repositories

Discover Git instaweb a built-in command to browse local repositories in your browser at http//127.0.0.1:1234. Learn how to use this convenient tool to view your projects.

deep-dive
Mar 6, 2026
Combining git commit --fixup and git rebase --autosquash for Cleaner Commits

Learn to combine git commit --fixup and git rebase --autosquash for cleaner commits. Automatically squash corrections into original commits for a linear history.

how-to-guide
Mar 6, 2026
How to Use Git Grep with Regex Patterns and Boolean Operators for Powerful Code Search

Master Git grep for powerful code search. Learn to use regex patterns with boolean operators like AND OR NOT for complex searches across all Git revisions.

how-to-guide
Mar 6, 2026
Using the Git Stripspace Command Effectively for Cleaning Whitespace

Master the git stripspace command to effectively clean whitespace by stripping trailing spaces, collapsing blank lines, and ensuring file endings. Learn how to normalize your code.

tutorial
Mar 6, 2026
How to Fetch and Checkout Specific Pull Requests Locally Using Git Commands

Learn to fetch and checkout specific pull requests locally with Git. Easily review branches and changes using simple git commands for efficient collaboration.

how-to-guide
Mar 6, 2026
Hub Command Line Tool: Features and Installation Guide

Explore the Hub command line tool features and installation guide. Streamline GitHub workflows for pull requests, forking, and issue management directly from your terminal.

how-to-guide
Mar 6, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →