Look up the exact Git command to undo a recent commit, push to a remote, or create a branch without searching through full documentation.
Share with a new teammate who is learning Git to help them understand the commands they will use every day.
Learn the Git Flow branching workflow and the specific commands that go with feature branches, releases, and hotfixes.
Find the translated version of the cheat sheet in your preferred language, including Chinese, Korean, Greek, or Portuguese.
This repository is a reference guide that organizes the most commonly used Git commands into one document. Git is a version control tool that developers use to track changes in code, collaborate with others, and manage different versions of a project. The cheat sheet is aimed at anyone who works with Git and wants a quick way to look up a command without searching through the full documentation. The content is divided into sections covering the main things you do with Git: initial setup and configuration, creating or cloning a repository, staging and committing changes, viewing history, searching through commits, managing branches and tags, fetching and pushing code to remote servers, merging and rebasing, and undoing changes. Each entry shows the exact command to type, with a short label describing what it does. Some entries include brief warnings, such as a note not to amend commits that have already been shared with others. The guide also covers Git Flow, a structured branching strategy that some teams use to organize their work around releases. Git Flow defines specific branch names and rules for features, releases, and hotfixes, and the cheat sheet lists the commands that go with that workflow. The README is available in multiple languages, including Chinese, Korean, Bengali, Greek, Portuguese, and others, with links to translated versions in the repository. Contributions are welcome: the project accepts fixes for grammar errors, additions of new commands, new translations, and improvements to existing explanations.
← arslanbilal on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.