# Git

[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

Cheat-sheets.org topic in the Version control group.

Source: [https://www.cheat-sheets.org/#Git](https://www.cheat-sheets.org/#Git).

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [Official websites](#official-websites)
- [Wikipedia](#wikipedia)
- [Saved copies](#saved-copies)
- [Cheat sheets](#cheat-sheets)
- [See also](#see-also)
- [Contributing](#contributing)
- [License](#license)

## Install

This folder is part of the local archive. Clone the repository:

```sh
git clone .
```

## Usage

Open this README, the Wikipedia clone, and files under `saved-copy/`.

```sh
ls saved-copy wikipedia.md
```

## Official websites

- [git-scm.com](http://git-scm.com/)

## Wikipedia

- Live: [https://en.wikipedia.org/wiki/Git_(software)](https://en.wikipedia.org/wiki/Git_(software))
- Local clone: [wikipedia.md](wikipedia.md)

## Saved copies

- [git-cheat-sheet-education.20211117.pdf](saved-copy/git-cheat-sheet-education.20211117.pdf) — `https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-education.20211117.pdf`
- [git-cheat-sheet-large.png](saved-copy/git-cheat-sheet-large.png) — `https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-large.png`
- [git-cheat-sheet.pdf](saved-copy/git-cheat-sheet.pdf) — `https://www.cheat-sheets.org/saved-copy/git-cheat-sheet.pdf`
- [git-cheat-sheet.svg](saved-copy/git-cheat-sheet.svg) — `https://www.cheat-sheets.org/saved-copy/git-cheat-sheet.svg`
- [git-cheat-sheet-v2-front.svg](saved-copy/git-cheat-sheet-v2-front.svg) — `https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-v2-front.svg`
- [git-cheat-sheet-v2-back.svg](saved-copy/git-cheat-sheet-v2-back.svg) — `https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-v2-back.svg`
- [git-cheat-sheet-v2.pdf](saved-copy/git-cheat-sheet-v2.pdf) — `https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-v2.pdf`
- [git-cheat-sheet-v2.zip](saved-copy/git-cheat-sheet-v2.zip) — `https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-v2.zip`
- [Git_Quick_Reference.2011-09-04.pdf](saved-copy/Git_Quick_Reference.2011-09-04.pdf) — `https://www.cheat-sheets.org/saved-copy/Git_Quick_Reference.2011-09-04.pdf`
- [Git_Cheat_Sheet_grey.pdf](saved-copy/Git_Cheat_Sheet_grey.pdf) — `https://www.cheat-sheets.org/saved-copy/Git_Cheat_Sheet_grey.pdf`
- [Top_20_Git_Commands_With_Examples.png](saved-copy/Top_20_Git_Commands_With_Examples.png) — `https://www.cheat-sheets.org/saved-copy/Top_20_Git_Commands_With_Examples.png`
- [github-git-cheat-sheet-20220806.pdf](saved-copy/github-git-cheat-sheet-20220806.pdf) — `https://www.cheat-sheets.org/saved-copy/github-git-cheat-sheet-20220806.pdf`
- [Git_for_Subversion_Users.pdf](saved-copy/Git_for_Subversion_Users.pdf) — `https://www.cheat-sheets.org/saved-copy/Git_for_Subversion_Users.pdf`
- [12_git_cheat_sheet.20210604.pdf](saved-copy/12_git_cheat_sheet.20210604.pdf) — `https://www.cheat-sheets.org/saved-copy/12_git_cheat_sheet.20210604.pdf`
- [Basic_Git_commands_20211117.png](saved-copy/Basic_Git_commands_20211117.png) — `https://www.cheat-sheets.org/saved-copy/Basic_Git_commands_20211117.png`
- [GIT_Bash_Commands.20211117.png](saved-copy/GIT_Bash_Commands.20211117.png) — `https://www.cheat-sheets.org/saved-copy/GIT_Bash_Commands.20211117.png`
- [GIT_Bash_Commands.20211117.md](saved-copy/GIT_Bash_Commands.20211117.md) — `https://www.cheat-sheets.org/saved-copy/GIT_Bash_Commands.20211117.md`
- [git.memory.knots.html](saved-copy/git.memory.knots.html) — `https://www.cheat-sheets.org/saved-copy/git.memory.knots.html`
- [SWTM-2088_Atlassian-Git-Cheatsheet.pdf](saved-copy/SWTM-2088_Atlassian-Git-Cheatsheet.pdf) — `https://www.cheat-sheets.org/saved-copy/SWTM-2088_Atlassian-Git-Cheatsheet.pdf`
- [gitlab-git-cheat-sheet-20220806.pdf](saved-copy/gitlab-git-cheat-sheet-20220806.pdf) — `https://www.cheat-sheets.org/saved-copy/gitlab-git-cheat-sheet-20220806.pdf`
- [progit.20211117.pdf](saved-copy/progit.20211117.pdf) — `https://www.cheat-sheets.org/saved-copy/progit.20211117.pdf`

## Cheat sheets

- Git cheat sheet (the most important and commonly used Git commands for easy reference) [pdf] (education.github.com) ([saved](https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-education.20211117.pdf), [online](https://education.github.com/git-cheat-sheet-education.pdf), [archived](https://web.archive.org/web/*/https://education.github.com/git-cheat-sheet-education.pdf))
- GitCheatSheet by Zack Rusin [html, png, pdf, svg] (git.or.cz) ([saved](https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-large.png), [saved](https://www.cheat-sheets.org/saved-copy/git-cheat-sheet.pdf), [saved](https://www.cheat-sheets.org/saved-copy/git-cheat-sheet.svg), [online](http://git.or.cz/gitwiki/GitCheatSheet))
- Git cheat sheet, extended edition prepared by Jan Krueger [svg front, svg back, pdf, pdf.zip] (git.or.cz) ([saved](https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-v2-front.svg), [saved](https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-v2-back.svg), [saved](https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-v2.pdf), [saved](https://www.cheat-sheets.org/saved-copy/git-cheat-sheet-v2.zip), [online](http://jan-krueger.net/development/git-cheat-sheet-extended-edition))
- Git Quick Reference by Juan Pablo Justiniano [pdf] (jpjustiniano.wordpress.com) ([saved](https://www.cheat-sheets.org/saved-copy/Git_Quick_Reference.2011-09-04.pdf), [online](http://jpjustiniano.wordpress.com/2011/05/22/git-quick-reference/))
- Git cheat sheet [pdf] (git-tower.com) ([saved](https://www.cheat-sheets.org/saved-copy/Git_Cheat_Sheet_grey.pdf), [online](http://www.git-tower.com/files/cheatsheet/Git_Cheat_Sheet_grey.pdf))
- Getting Started with Git by Matthew McCullough [pdf] (dzone.com) ([online](https://dzone.com/refcardz/getting-started-git), [archived](https://web.archive.org/web/*/https://dzone.com/refcardz/getting-started-git))
- Top 20 Git Commands With Examples by  Sahiti Kappagantula [html] (dzone.com) ([saved](https://www.cheat-sheets.org/saved-copy/Top_20_Git_Commands_With_Examples.png), [online](https://dzone.com/articles/top-20-git-commands-with-examples), [archived](https://web.archive.org/web/*/https://dzone.com/articles/top-20-git-commands-with-examples))
- Git Cheat Sheet - GitHub Training [pdf] (training.github.com) ([saved](https://www.cheat-sheets.org/saved-copy/github-git-cheat-sheet-20220806.pdf), [online](https://training.github.com/downloads/github-git-cheat-sheet.pdf), [online](https://training.github.com/), [archived](https://web.archive.org/web/*/https://training.github.com/downloads/github-git-cheat-sheet.pdf), [archived](https://web.archive.org/web/*/https://training.github.com/))
- Git for Subversion Users - A Cheat Sheet by Tobias Günther [pdf] (git-tower.com) ([saved](https://www.cheat-sheets.org/saved-copy/Git_for_Subversion_Users.pdf), [online](https://www.git-tower.com/blog/git-for-subversion-users-cheat-sheet/))
- The Simple Git Cheat Sheet – A Helpful Illustrated Guide [pdf] (finxter.com) ([saved](https://www.cheat-sheets.org/saved-copy/12_git_cheat_sheet.20210604.pdf), [online](https://blog.finxter.com/wp-content/uploads/2019/05/12_git_cheat_sheet.pdf), [archived](https://web.archive.org/web/*/https://blog.finxter.com/wp-content/uploads/2019/05/12_git_cheat_sheet.pdf))
- Basic Git commands  [html] (atlassian.com) ([saved](https://www.cheat-sheets.org/saved-copy/Basic_Git_commands_20211117.png), [online](https://confluence.atlassian.com/bitbucketserver/basic-git-commands-776639767.html), [archived](https://web.archive.org/web/*/https://confluence.atlassian.com/bitbucketserver/basic-git-commands-776639767.html))
- Git for the lazy [html] (spheredev.org) ([online](https://wiki.spheredev.org/index.php/Git_for_the_lazy), [archived](https://web.archive.org/web/*/https://wiki.spheredev.org/index.php/Git_for_the_lazy))
- Git from the inside out by Mary Rose Cook [html] (codewords.recurse.com) ([online](https://codewords.recurse.com/issues/two/git-from-the-inside-out), [archived](https://web.archive.org/web/*/https://codewords.recurse.com/issues/two/git-from-the-inside-out))
- Common Git Commands by Brian Kerr [html] (guides.beanstalkapp.com/) ([online](http://guides.beanstalkapp.com/version-control/common-git-commands.html), [archived](https://web.archive.org/web/*/http://guides.beanstalkapp.com/version-control/common-git-commands.html))
- 13 Git Commands Every Developer Must Know by Vikash Koushik [html] (rovitpm.com) ([online](https://rovitpm.com/13-git-commands/), [archived](https://web.archive.org/web/*/https://rovitpm.com/13-git-commands/))
- GIT Bash Commands by Adam Lusted /etoxin/ [html, md] (github.com) ([saved](https://www.cheat-sheets.org/saved-copy/GIT_Bash_Commands.20211117.png), [saved](https://www.cheat-sheets.org/saved-copy/GIT_Bash_Commands.20211117.md), [online](https://gist.github.com/etoxin/1acb257550b1de60fe99), [archived](https://web.archive.org/web/*/https://gist.github.com/etoxin/1acb257550b1de60fe99))
- git memory knots (git commands extremely short cheat sheet) by Alexander Krassotkin [html] (cheat-sheets.org) ([saved](https://www.cheat-sheets.org/saved-copy/git.memory.knots.html))
- Git Cheat Sheet [pdf] (atlassian.com) ([saved](https://www.cheat-sheets.org/saved-copy/SWTM-2088_Atlassian-Git-Cheatsheet.pdf), [online](https://wac-cdn.atlassian.com/dam/jcr:e7e22f25-bba2-4ef1-a197-53f46b6df4a5/SWTM-2088_Atlassian-Git-Cheatsheet.pdf), [online](https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet), [archived](https://web.archive.org/web/*/https://wac-cdn.atlassian.com/dam/jcr:e7e22f25-bba2-4ef1-a197-53f46b6df4a5/SWTM-2088_Atlassian-Git-Cheatsheet.pdf), [archived](https://web.archive.org/web/*/https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet))
- Git Cheat Sheet by GitLab [pdf] (gitlab.com) ([saved](https://www.cheat-sheets.org/saved-copy/gitlab-git-cheat-sheet-20220806.pdf), [online](https://about.gitlab.com/images/press/git-cheat-sheet.pdf), [archived](https://web.archive.org/web/*/https://about.gitlab.com/images/press/git-cheat-sheet.pdf))
- Yet Another Git Cheatsheet by Dumb Down Demistifying Dev (henryong92) [html] (dev.to) ([online](https://dev.to/henryong92/yet-another-git-cheatsheet-4gjk), [archived](https://web.archive.org/web/*/https://dev.to/henryong92/yet-another-git-cheatsheet-4gjk))
- Start a new git repository by Karl Broman [html] (kbroman.org) ([online](https://kbroman.org/github_tutorial/pages/init.html), [archived](https://web.archive.org/web/*/https://kbroman.org/github_tutorial/pages/init.html))
- Oh Shit, Git!?! by Katie Sylor-Miller (ksylor) [html] (ohshitgit.com) ([online](https://ohshitgit.com/), [archived](https://web.archive.org/web/*/https://ohshitgit.com/))
- Git: Cheat Sheet (advanced) by Maxence Poutord (maxpou) [html] (dev.to) ([online](https://dev.to/maxpou/git-cheat-sheet-advanced-3a17), [archived](https://web.archive.org/web/*/https://dev.to/maxpou/git-cheat-sheet-advanced-3a17))
- Git Cheat Sheet: Commands and Best Practices by Simon Maple [html] (jrebel.com) ([online](https://www.jrebel.com/blog/git-cheat-sheet), [archived](https://web.archive.org/web/*/https://www.jrebel.com/blog/git-cheat-sheet))
- tldr git [html] (cheat-sheets.org) See also: git init , git clone , git add , git status , git commit , git remote , git push , git pull , etc. ([online](http://cheat-sheets.org/project/tldr/command/git/), [online](http://cheat-sheets.org/project/tldr/command/git-init/), [online](http://cheat-sheets.org/project/tldr/command/git-clone/), [online](http://cheat-sheets.org/project/tldr/command/git-add/), [online](http://cheat-sheets.org/project/tldr/command/git-status/), [online](http://cheat-sheets.org/project/tldr/command/git-commit/), [online](http://cheat-sheets.org/project/tldr/command/git-remote/), [online](http://cheat-sheets.org/project/tldr/command/git-push/), [online](http://cheat-sheets.org/project/tldr/command/git-pull/), [online](http://cheat-sheets.org/project/tldr/command/git*/), [archived](https://web.archive.org/web/*/http://cheat-sheets.org/project/tldr/command/git/))
- Awesome Git Cheatsheet by Julien Le Coupanec @LeCoupa [html] (github.com/LeCoupa) ([online](https://github.com/LeCoupa/awesome-cheatsheets/blob/master/tools/git.sh), [archived](https://web.archive.org/web/*/https://github.com/LeCoupa/awesome-cheatsheets/blob/master/tools/git.sh))
- Git /The official Git site/  [html] (git-scm.com) ([online](https://git-scm.com/), [archived](https://web.archive.org/web/*/https://git-scm.com/))
- Pro Git book, written by Scott Chacon and Ben Straub [pdf] (git-scm.com) ([saved](https://www.cheat-sheets.org/saved-copy/progit.20211117.pdf), [online](https://git-scm.com/book/en/v2), [archived](https://web.archive.org/web/*/https://git-scm.com/book/en/v2))
- Official Git tutorial [html] (kernel.org) ([online](http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html), [archived](https://web.archive.org/web/*/http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html))
- Everyday GIT With 20 Commands Or So [html] (kernel.org) ([online](https://www.kernel.org/pub/software/scm/git/docs/giteveryday.html), [archived](https://web.archive.org/web/*/https://www.kernel.org/pub/software/scm/git/docs/giteveryday.html))
- Git User’s Manual (for version 1.5.3 or newer) [html] (kernel.org) ([online](http://www.kernel.org/pub/software/scm/git/docs/user-manual.html), [archived](https://web.archive.org/web/*/http://www.kernel.org/pub/software/scm/git/docs/user-manual.html))
- Start using Git on the command line [html] (gitlab.com) ([online](https://docs.gitlab.com/ee/gitlab-basics/start-using-git.html), [archived](https://web.archive.org/web/*/https://docs.gitlab.com/ee/gitlab-basics/start-using-git.html))

## See also

- Bazaar (`#Bazaar`)
- CVS (`#CVS`)
- SVN (`#SVN`)

## Contributing

Questions: open an issue in this repository. Pull requests that fix catalog grouping or add missing saved copies are welcome.

## License

UNLICENSED © George Lambert. Indexed cheat sheets, saved copies, and Wikipedia extracts remain under their original publishers' terms; Wikipedia text is CC BY-SA 4.0.
