awesome-git/README.md

189 lines
17 KiB
Markdown
Raw Permalink Normal View History

2022-04-14 03:40:59 -04:00
![Cover image](cover.png)
2015-09-15 12:06:27 -04:00
# Awesome Git
A curated list of amazingly awesome Git tools, resources and shiny things.
2015-09-22 11:13:34 -04:00
## Contributing
Pull requests on interesting tools/projects/resources are welcome.
2015-09-15 12:06:27 -04:00
## Table of Contents
- [Awesome Git](#awesome-git)
- [Tutorial](#tutorial)
- [Style Guide](#style-guide)
2015-09-15 12:06:27 -04:00
- [Client](#client)
- [Repository Hosting](#repository-hosting)
2015-09-22 11:13:34 -04:00
- [Self-Hosted Repository](#self-hosted-repository)
2015-09-15 12:06:27 -04:00
- [Workflow](#workflow)
- [Hook management](#hook-management)
- [Tools](#tools)
- [Extensions](#extensions)
## Tutorial
2015-09-22 11:13:34 -04:00
*There are tons of learning material on the Web*
2015-09-15 12:06:27 -04:00
2015-09-22 11:13:34 -04:00
* [Try Git](https://try.github.io/) - learn Git in 15 minutes with pseudo-terminal interface
* [Atlassian Git Tutorial](https://www.atlassian.com/git/tutorials/) - comprehensive tutorial on Git
2015-09-15 12:06:27 -04:00
* [Learn Version Control with Git](https://www.git-tower.com/learn/) - freemium ebook from fournova Software (makers for Tower), associated with paid video course
2018-06-07 08:08:04 -04:00
* [Pro Git](https://git-scm.com/book/) - free Git book, also available on paper (CC BY-NC-SA 3.0)
2019-05-13 07:00:37 -04:00
* [Learn how to use Git](https://www.deployhq.com/git) - free tutorials and resources to help you learn the basics of Git
2015-09-15 12:06:27 -04:00
* [The Git Community Book](https://schacon.github.io/gitbook/) - book built by dozens of people in the Git community
* [Git Pocket Guide](https://shop.oreilly.com/product/0636920024972) - a short O'Reilly book on Git
2015-09-22 11:13:34 -04:00
* [Git Real: Code School](https://www.codeschool.com/courses/git-real/) - paid training course from Code School
* [Git Branching](https://pcottle.github.io/learnGitBranching/) - visual way to learn git branching
2016-10-16 16:40:04 -04:00
* [Learn Git in a Month of Lunches](https://www.manning.com/books/learn-git-in-a-month-of-lunches) - tutorial-based book by Manning Publications
2016-10-08 02:09:17 -04:00
* [Git Magic](http://www-cs-students.stanford.edu/~blynn/gitmagic/index.html) - short book about Git
* [Git from the bottom up](https://jwiegley.github.io/git-from-the-bottom-up/) - great series of articles about Git
2020-01-13 08:38:09 -05:00
* [Git-It](https://github.com/jlord/git-it-electron) - Interactive Tutorial App that runs on your Desktop!
* [Git How To](https://githowto.com) - step by step intro
* [Migrating to Git LFS](https://vooban.com/en/tips-articles-geek-stuff/migrating-to-git-lfs-for-developing-deep-learning-applications-with-large-files/) - Use Git LFS on an existing repository to manage large files in a better way
* [Explain Git with D3](https://onlywei.github.io/explain-git-with-d3/) - Visualized few basic Git concepts using D3.js: commit, branch, checkout, reset, revert, merge, rebase, fetch, pull, push, tag
* [Making Sense of Git A Visual Perspective](https://appendto.com/2015/06/making-sense-of-git-a-visual-perspective/) - Git from a timeline and level perspective and git commands cheatsheet grouped by functionality
* [Git & Git-Flow Cheat Sheet](https://github.com/arslanbilal/git-cheat-sheet)
* [Git Tips](https://github.com/git-tips/tips)
* [Interactive/Contextual/Visual Cheat Sheet](https://ndpsoftware.com/git-cheatsheet.html)
2018-06-07 08:08:04 -04:00
* [The 'Git Pretty' Flow-Chart](http://justinhileman.info/article/git-pretty/git-pretty.png) - How to Recover from a Mess
* [Software Carpentry: Git Lessons](https://software-carpentry.org/lessons/)
* [The Git Parable](http://tom.preston-werner.com/2009/05/19/the-git-parable.html) - GitHub Cofounder's Narrative-style Intro to Git Concepts
* [CodeBasicsHub: Git Video Tutorials](https://codebasicshub.com/tutorial/git-github/what-is-git)
2018-06-07 08:08:04 -04:00
* [Intermediate Git](http://www.columbia.edu/~zjn2101/intermediate-git/#1) - lower-level, more structural explanation of git concepts
2018-10-12 04:47:01 -04:00
* [Fork and Pull Request Workflow](https://github.com/susam/gitpr) - Very nicely explained, simple and crisp way of understanding git fork and pull request workflow.
* [Git School Dude](https://www.youtube.com/c/DanGitschoolDude) - It's a YouTube channel with a lot of great git videos. It covers everything from the basics to advanced Git topics.
* [A Git Choose Your Own Adventure](https://sethrobertson.github.io/GitFixUm/fixup.html) - I never found a git tutorial I didn't understand while doing it. Just sometimes those tutorials didn't line up very well with my actual work. This git help in the form of a choose your own adventure was a life saver when I was first starting out.
* [On undoing, fixing, or removing commits in git](https://sethrobertson.github.io/GitFixUm/fixup.html) - fairly comprehensive guide to recovering from what you did not mean to do when using git
2020-02-12 01:18:28 -05:00
* [Deconstructing a git commit](https://krishnabiradar.com/blogs/deconstructing-a-git-commit/) - A blog explaining how git creates and stores commit histories.
2022-04-14 03:52:13 -04:00
* [Flight rules for Git](https://github.com/k88hudson/git-flight-rules) - guide about what to do when things go wrong
* [Use gitk to understand git](https://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git/) - all important Git terms (commit, commit SHA, branch, merge, rebase) explained using gitk
* [Git Cherry-pick and its usages](https://www.loginradius.com/blog/async/git-cherry-pick/) - A blog explaining how command git cherry-pick works.
2022-12-11 16:53:25 -05:00
* [The ultimate guide to <code>.gitignore</code>](https://github.com/groda/the_ultimate_gitignore_guide) All about `.gitignore`.
2023-12-15 04:50:51 -05:00
* [No Bullsh\*t Git](https://maciejb2k.github.io/no-bs-git/) - free and complete explanation of git internals and the `.git/` directory.
2015-09-15 12:06:27 -04:00
## Style Guide
*Style guide when you work with git*
* [Udacity Nanodegree Style Guide](https://udacity.github.io/git-styleguide/index.html)
2015-09-15 12:06:27 -04:00
## Client
2015-09-22 11:13:34 -04:00
*Git clients are available on every platform, from mainframe to your mobile device*
2015-09-15 12:06:27 -04:00
* [GitHub Desktop](https://desktop.github.com/) - Git Client by GitHub. works with GitHub and GitHub Enterprise seamlessly
2015-09-24 05:48:44 -04:00
* [SourceTree](https://www.sourcetreeapp.com/) - free (in-beer) GUI client. Windows and Mac only
* [Tower](https://www.git-tower.com/) - a popular non-free Git GUI client. Mac and Windows
2022-04-14 03:52:13 -04:00
* [GitKraken](https://www.gitkraken.com/) - a cross Git client for Windows, Mac & Linux. Electron based. Free for non-commercial use and paid Pro version is available.
* [Fork](https://git-fork.com) - An awesome and free git client for macOS and Windows
* [TortoiseGit](https://tortoisegit.org/) - an easy-to-use Git client on Windows. well-integrated with Windows Explorer.
* [SmartGit](https://www.syntevo.com/smartgit/) - a commercial comprehensive SCM client with Git, SVN, Mercurial. cross-platform (works on Windows, Mac and Linux)
2015-09-15 12:06:27 -04:00
* [RabbitVCS](http://rabbitvcs.org/) - TortoiseSVN inspired graphic tool for version control systems, with Nautilus and Thunar integration
* [gitg](https://wiki.gnome.org/Apps/Gitg/) - a open-source GTK+ GUI client
* [git-cola](https://git-cola.github.io/) - a cross-platform Git GUI client
2015-09-22 11:13:34 -04:00
* [SGit](https://github.com/sheimi/SGit) - Git client for Android 4.x
2015-10-07 11:52:21 -04:00
* [Ungit](https://github.com/FredrikNoren/ungit) - The easiest way to use git. On any platform. Anywhere.
2016-11-29 16:59:07 -05:00
* [GitUp](http://gitup.co) - a clean, minimal Git client. Mac only.
2017-03-06 12:36:32 -05:00
* [GitExtensions](https://gitextensions.github.io/) - a shell extension, a Visual Studio 2010-2015 plugin and a standalone Git repository tool.
* [WorkingCopy](https://workingcopyapp.com) - a powerful Git client for iOS. Free with in-app purchase to unlock the ability to push commits.
* [Git Add-ons](https://github.com/stevemao/awesome-git-addons) - Enhance the basic `git` CLI
2020-02-21 05:05:43 -05:00
* [Magit](https://magit.vc) - A Git porcelain inside Emacs
* [Vershd](https://vershd.io/) - a free for personal use effortless Git GUI for Windows, Mac, & Linux.
* [lazygit](https://github.com/jesseduffield/lazygit) - A simple terminal UI for git commands, written in Go
2023-10-07 11:39:09 -04:00
* [Gittyup](https://github.com/Murmele/Gittyup) - a graphical Git client designed to help you understand and manage your source code history.
2015-09-15 12:06:27 -04:00
## Repository Hosting
2015-09-22 11:13:34 -04:00
*People have plenty of options to host their source code*
2015-09-15 12:06:27 -04:00
* [GitHub](https://github.com/) - the de-facto git hosting service. Perfect integration with most external services.
* [Awesome GitHub](https://github.com/phillipadsmith/awesome-github) - Resources & Learning for GitHub
* [GitHub Cheat Sheet](https://github.com/tiimgreen/github-cheat-sheet)
* [GitHub Browser Extensions](https://github.com/stefanbuck/awesome-browser-extensions-for-github)
* [BitBucket](https://bitbucket.org/) - well-known for its free private repository (5 user max).
2022-04-14 03:44:53 -04:00
* [Jetbrains Space](https://www.jetbrains.com/space/) - Jetbrains all-in-one solution for software teams, with IM, ticket tracking, source control.
2015-09-22 11:17:09 -04:00
* [GitLab.com](https://about.gitlab.com/gitlab-com/) - a free Git repository hosting service served by GitLab EE. Unlimited repositories and private collaborators
2022-04-14 03:52:13 -04:00
* [Azure DevOps](https://azure.microsoft.com/en-us/services/devops/) - cloud service for software development formerly known as Visual Studio Team Services, Visual Studio Online and Team Foundation Service Preview
2015-09-22 11:17:09 -04:00
* [AWS CodeCommit](https://aws.amazon.com/codecommit/) - a SaaS service provided by Amazon Web Service on high availability infrastructure
2022-04-14 03:52:13 -04:00
* [Kiln](https://www.fogcreek.com/kiln/) - paid Git repository hosting service
2016-09-26 21:18:23 -04:00
* [Deveo](https://deveo.com/) - a paid repository hosting service with support for Git, Subversion, Mercurial, WebDAV
2015-09-15 12:06:27 -04:00
## Self-Hosted Repository
2015-09-22 11:13:34 -04:00
*Or you can host the code yourselves*
2015-09-15 12:06:27 -04:00
* [Gitolite](https://gitolite.com/gitolite/) - a simple with fine-grained access control
2015-09-15 12:06:27 -04:00
* [GitHub Enterprise](https://enterprise.github.com/) - self-hosted solution provided from GitHub
2016-09-22 01:24:17 -04:00
* [Bitbucket Server](https://www.atlassian.com/software/bitbucket/server) - self-hosted refrom Atlassian. Good integration with JIRA and other Atlassian products
2015-09-22 11:17:09 -04:00
* [GitLab CE/EE](https://gitlab.com/) - a popular open-source Git (CE) with paid support option (EE).
2022-04-14 03:43:06 -04:00
* ~~[Upsource](https://www.jetbrains.com/upsource) - recent offer from Jetbrains, a famous developer-oriented software company. Code repository hosting feature pending. Free for 10 users. Good integration with YouTrack and TeamCity~~
* Upsource is no longer available as a commercial product as of February 1, 2022.[*](https://www.jetbrains.com/upsource/)
* [Gogs](https://gogs.io/) - a self-hosted Git Service written in Go.
2018-06-29 15:27:46 -04:00
* [Gitea](https://gitea.io/) - a community managed fork of Gogs, lightweight code hosting solution written in Go.
2022-04-14 11:03:38 -04:00
* [onedev](https://github.com/theonedev/onedev) - Self-hosted Git Server with Kanban and CI/CD
* [GitBucket](https://github.com/takezoe/gitbucket/) - a GitHub clone powered by Scala.
2016-09-26 21:18:23 -04:00
* [GitBlit](http://gitblit.com/) - Pure Java Stack for managing, view, and serving Git repositories.
* [Apache Allura](https://allura.apache.org/) - an open source implementation of project hosting platform
* [Phabricator](https://www.phacility.com/) - an integrated set of powerful tools to help companies build higher quality software
* Effective June 1, 2021: Phabricator is no longer actively maintained.[*](https://admin.phacility.com/phame/post/view/11/phacility_is_winding_down_operations/)
2016-09-26 21:18:23 -04:00
* [RhodeCode CE/EE](https://rhodecode.com/) - a platform delivering enterprise source code management
2023-03-28 12:30:25 -04:00
* [Soft Serve](https://github.com/charmbracelet/soft-serve) - a tasty, self-hostable Git server for the command line
2015-09-15 12:06:27 -04:00
## Workflow
2020-05-23 20:00:54 -04:00
*Inexpensive branching allows people adopt workflows other than the classic centralized workflow*
2015-09-15 12:06:27 -04:00
2015-09-15 12:31:32 -04:00
* [Pro Git - Distributed Workflows](https://git-scm.com/book/it/v2/Distributed-Git-Distributed-Workflows)
* [Atlassian Git Tutorial - Comparing Workflows](https://www.atlassian.com/git/tutorials/comparing-workflows)
2022-04-14 04:47:05 -04:00
* [Patterns for Managing Source Code Branches](https://martinfowler.com/articles/branching-patterns.html)
2022-05-20 23:56:28 -04:00
* [Branching Models article from Nyx](https://mooltiverse.github.io/nyx/guide/user/best-practice/branching-models/)
2022-04-14 04:47:05 -04:00
### Comparing workflows
*No single workflow fits everyone's need*
* [Gitflow](https://nvie.com/posts/a-successful-git-branching-model/) - the most well-known Git workflow model
2015-09-22 11:13:34 -04:00
* [GitHub flow](http://scottchacon.com/2011/08/31/github-flow.html) - a simple branching model with a single master
* [GitLab flow](https://about.gitlab.com/2014/09/29/gitlab-flow/)
* [Git DMZ Flow](https://gist.github.com/djspiewak/9f2f91085607a4859a66)
2019-12-16 08:59:07 -05:00
* [Aoneflow](https://www.alibabacloud.com/blog/how-do-we-manage-code-branches-at-alibaba_593834) - an interesting branch model which delays the final merge to production branch, adopted by Alibaba. more article (in Chinese text) at [1](https://segmentfault.com/a/1190000016373314), [2](https://yq.aliyun.com/articles/573549)
2023-07-19 12:19:06 -04:00
* [Agit-flow](https://git-repo.info/en/2020/03/agit-flow-and-git-repo/) - Inspired by Gerrit workflow, Agit-flow is a centralized git workflow and used in Alibabas internal source code platform
2015-09-15 12:06:27 -04:00
## Hook management
*Git provide hooks at commit/push phrase, allowing integration with and code quality checking tool and Continuous Integration (CI)*
2023-11-05 04:08:09 -05:00
* [pre-commit](https://pre-commit.com) - a framework for managing and maintaining multi-language pre-commit hooks.
* [husky](https://github.com/typicode/husky) - modern native Git hooks made easy.
* [Overcommit](https://github.com/brigade/overcommit) - a extendable Git hook manager written with Ruby.
* [lefthook](https://github.com/evilmartians/lefthook) - fast and powerful Git hooks manager for any type of project.
* [Mookme](https://github.com/Escape-Technologies/mookme) - A simple and easy-to-use, yet powerful and language agnostic git hook for monorepos.
* [quickhook](https://github.com/dirk/quickhook) - a fast, Unix'y, opinionated Git hook runner.
2018-04-13 04:15:18 -04:00
* more on https://githooks.com/
2015-09-15 12:06:27 -04:00
## Tools
2015-09-22 11:13:34 -04:00
*Various tools for daily operations*
2015-09-15 12:06:27 -04:00
2017-07-05 13:48:28 -04:00
* [awesome-git-addons](https://github.com/stevemao/awesome-git-addons) - lists more than 20 git addons including all available commands
2015-09-15 12:06:27 -04:00
* [myrepos](https://myrepos.branchable.com/) - a tool to manage multiple version control repositories
* [mu-repo](https://fabioz.github.io/mu-repo/) - a tool to help in dealing with multiple git repositories
* [multi-gitter](https://github.com/lindell/multi-gitter) - a tool to make changes in multiple repositories simultaneously
* [gitwalk](https://github.com/pazdera/gitwalk) - Bulk processing of git repos
2016-10-03 12:53:31 -04:00
* [gr](http://mixu.net/gr/) - a tool for managing multiple git repositories
2015-09-15 12:06:27 -04:00
* [BFG Repo-Cleaner](https://rtyley.github.io/bfg-repo-cleaner/) - a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history
2015-09-22 11:13:34 -04:00
* [GitIgnore Collection](https://github.com/github/gitignore) - collection of gitignore files for various programming language
* [etckeeper](https://etckeeper.branchable.com/) - a collection of tools to let /etc be stored in a git repository
2016-07-26 13:39:40 -04:00
* [git-extras](https://github.com/tj/git-extras) git utilities adding useful git commands.
2016-11-29 12:13:30 -05:00
* [git-extra-commands](https://github.com/unixorn/git-extra-commands) - Another collection of useful git commands.
2017-05-05 10:13:02 -04:00
* [git-follow](https://github.com/nickolasburr/git-follow) - a tool for following lifetime changes of a file throughout the history of a Git repository.
2016-09-26 21:18:23 -04:00
* [Gitrob](https://github.com/michenriksen/gitrob) - a command line tool to find sensitive information lingering in publicly available files on GitHub
* [gitFS](https://www.presslabs.com/gitfs/) - a FUSE file system that fully integrates with git
* [Gitless](https://gitless.com/) - an experimental version of Git that changes some of Git's underlying concepts
2016-10-28 08:41:38 -04:00
* [ghq](https://github.com/motemen/ghq) — Organization for remote repositories
* [bash-git-prompt](https://github.com/magicmonty/bash-git-prompt) - An informative and fancy bash prompt for Git users
2018-08-05 13:36:11 -04:00
* [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) - a set of tools for parsing [conventional commit](https://conventionalcommits.org/) messages from git histories
2022-04-14 08:13:39 -04:00
* [release-it](https://github.com/webpro/release-it) - Automate releases for Git repositories and/or npm packages. Changelog generation, GitHub/GitLab releases, etc.
2022-04-14 08:15:22 -04:00
* [gickup](https://github.com/cooperspencer/gickup) - Backup repos from various hosters to local or other hosters.
2022-04-20 03:30:12 -04:00
* [git-absorb](https://github.com/tummychow/git-absorb) - `git commit --fixup`, but automatic
* [jc --git-log](https://kellyjonbrazil.github.io/jc/docs/parsers/git_log) - Convert your git log to JSON.
2023-07-19 12:27:45 -04:00
* [gitbackup](https://github.com/amitsaha/gitbackup) - a tool to backup your Bitbucket, GitHub and GitLab repositories.
2023-07-09 14:27:37 -04:00
* [soba](https://github.com/jonhadfield/soba) - scheduled backups of repositories from popular providers with change detection.
2023-10-20 09:30:10 -04:00
* [tig](https://github.com/jonas/tig) - text-mode interface for git.
2015-10-02 23:21:40 -04:00
2015-09-15 12:06:27 -04:00
## Extensions
2015-09-22 11:13:34 -04:00
*Git is designed for source control management. but people extend the idea and push version control to everywhere*
2015-09-15 12:06:27 -04:00
2015-09-22 11:13:34 -04:00
* [Git Large File Storage](https://git-lfs.github.com/) - practical solution for versioning large files. supported by GitHub
* [Git Virtual File System or GVFS](https://github.com/Microsoft/GVFS) - solution for managing very large Git repository while maintaining speed and efficiency of most operations. in developement by Microsoft.
2015-09-22 11:13:34 -04:00
* [git-annex](https://git-annex.branchable.com/) - allow managing large binaries among machines, as if operation a normal git repository. possible to creates a synchronised folder with [git-annex assistant](https://git-annex.branchable.com/assistant/).