GitHub CLI Cheatsheet
gh at a glance: authentication, repositories, pull requests, issues, GitHub Actions runs and secrets, releases, search, extensions, and the API.
gh at a glance: authentication, repositories, pull requests, issues, GitHub Actions runs and secrets, releases, search, extensions, and the API.

Use git worktree to check out multiple branches in separate directories, handle urgent fixes without stashing, and clean up linked worktrees safely.

The git branch command creates, lists, renames, and deletes Git branches. This guide explains the full command reference with practical examples for local and remote branches, merged filters, and tracking upstream branches.

Five git commands that tell you where a codebase hurts before you open a single file. Churn hotspots, bus factor, bug clusters, and crisis patterns.
The 20 most-changed files in the last year.
Every contributor ranked by commit count.
Magic files and where to find them: .gitignore, .gitattributes, .mailmap, .git-blame-ignore-revs, .lfsconfig, and more.
Explaining git exclude and how it differs from git ignore.

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
Note: to solve pdf upload problems to github.

Introduction Git is a distributed version control system that helps you track changes in your code, collaborate with others, and maintain a history of your project. Git Bash is a terminal application for Windows that provides a Unix-like command-line experience for using Git…
A powerful Git feature for temporarily saving code in progress

Accidentally add a file that was not supposed to be added? If you have not made the commit yet, you can undo the git add and remove the file from staging.

Yes, you can totally push an empty commit in Git if you really want to. Here's how to do that.

Improve your version control skills to resolve issues and maintain a clean Git repository.

Git rebasing is a crucial skill for developers working in collaborative environments. It involves...
Using a monorepo causes a lot of performance challenges for git. Here's how we solve them at Canva.

If you no longer want to include a file in Git version control and want to add it to the .gitignore...

Introduction: The software development process has been transformed by the DevOps...

I am sharing my personal experience through this article. When working with Git, it's important to...

Managing code and collaborating with others can be a daunting task, but Git makes it easy. This...

GitOps is a methodology for deploying and managing software applications using Git. It is also...

WHAT IS GIT? A lot of times, people are confused on the right commands to use to resolve git...

From the highly eclectic blog of Mark Dominus

How to rename master to main in Github Table of Contents Context setting Step...

As more companies strive to deliver software faster it becomes clear what legacy processes are...

Learn essential Git commands for versioning and collaborating on data science projects.

And how to avoid them getting in there? — A surprisingly simple technique to handle it.
— Elitsa Krumova (@Eli_Krumova)
Protect and discover secrets using Gitleaks 🔑.

The Secret Passions of Git Checkout · GitHub
Quick reference guide on fork and pull request workflow - susam/gitpr

Because they perform similar operations, it is easy to mix these commands up. Here are a few guidelines and rules for when each command should and should not be used.

A Hacker’s Guide to Git is now available as an e-book. You can purchase it on Leanpub. Introduction Git is currently the most widely used version control system in the world, mostly thanks to GitHub. By that measure, I’d argue that it’s a...
Learn about the major reasons behind Git repositories becoming too large and techniques to manage these repositories, from submodules to Git LFS.

I have launched a newsletter Git Better to help learn new tricks and advanced topics of Gi...

An Introduction to Version Control with Git
A beginner's guide to creating a personal website and blog using Jekyll and hosting it for free using GitHub Pages.

Shaumik examines ways to manage huge repositories with Git, including shallow cloning, cloning a single branch, using submodules and third-party extensions.
Git Hooks are scripts that run automatically every time a particular event occurs in a Git repository. Learn what they do and how to use them effectively.

Boom! A Git implosion means man hours down the drain! Avoid such scenarios by making use of Git patterns that suit your team and project. What Git workflow should you be using? Joe James serves up this in-depth guide to Git patterns for every kind of project.

This article is a collection of the 18 most frequently asked questions and their answers when it...

Create, maintain, and contribute to a long-living dataset that will update itself automatically across projects.

Introduction In this post, we'll be looking at the git stash command and its usage. We com...

How to use GitLab step by step, even if you have never heard of Git before