awesome-git/README.md

186 lines
16 KiB
Markdown
Raw Permalink Normal View History

2022-04-14 07:40:59 +00:00
![Cover image](cover.png)
2015-09-15 16:06:27 +00:00
# Awesome Git
A curated list of amazingly awesome Git tools, resources and shiny things.
2015-09-22 15:13:34 +00:00
## Contributing
Pull requests on interesting tools/projects/resources are welcome.
2015-09-15 16:06:27 +00:00
## Table of Contents
- [Awesome Git](#awesome-git)
- [Tutorial](#tutorial)
- [Style Guide](#style-guide)
2015-09-15 16:06:27 +00:00
- [Client](#client)
- [Repository Hosting](#repository-hosting)
2015-09-22 15:13:34 +00:00
- [Self-Hosted Repository](#self-hosted-repository)
2015-09-15 16:06:27 +00:00
- [Workflow](#workflow)
- [Hook management](#hook-management)
- [Tools](#tools)
- [Extensions](#extensions)
## Tutorial
2015-09-22 15:13:34 +00:00
*There are tons of learning material on the Web*
2015-09-15 16:06:27 +00:00
2015-09-22 15:13:34 +00: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 16:06:27 +00: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 12:08:04 +00:00
* [Pro Git](https://git-scm.com/book/) - free Git book, also available on paper (CC BY-NC-SA 3.0)
2019-05-13 11:00:37 +00: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 16:06:27 +00: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 15:13:34 +00: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 20:40:04 +00: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 06:09:17 +00: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 13:38:09 +00: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 12:08:04 +00: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 12:08:04 +00:00
* [Intermediate Git](http://www.columbia.edu/~zjn2101/intermediate-git/#1) - lower-level, more structural explanation of git concepts
2018-10-12 08:47:01 +00: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 06:18:28 +00: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 07:52:13 +00: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 21:53:25 +00:00
* [The ultimate guide to <code>.gitignore</code>](https://github.com/groda/the_ultimate_gitignore_guide) All about `.gitignore`.
2015-09-15 16:06:27 +00: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 16:06:27 +00:00
## Client
2015-09-22 15:13:34 +00:00
*Git clients are available on every platform, from mainframe to your mobile device*
2015-09-15 16:06:27 +00:00
* [GitHub Desktop](https://desktop.github.com/) - Git Client by GitHub. works with GitHub and GitHub Enterprise seamlessly
2015-09-24 09:48:44 +00: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 07:52:13 +00: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 16:06:27 +00: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 15:13:34 +00:00
* [SGit](https://github.com/sheimi/SGit) - Git client for Android 4.x
2015-10-07 15:52:21 +00:00
* [Ungit](https://github.com/FredrikNoren/ungit) - The easiest way to use git. On any platform. Anywhere.
2016-11-29 21:59:07 +00:00
* [GitUp](http://gitup.co) - a clean, minimal Git client. Mac only.
2017-03-06 17:36:32 +00: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 10:05:43 +00: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
2015-09-15 16:06:27 +00:00
## Repository Hosting
2015-09-22 15:13:34 +00:00
*People have plenty of options to host their source code*
2015-09-15 16:06:27 +00: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 07:44:53 +00: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 15:17:09 +00: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 07:52:13 +00: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 15:17:09 +00:00
* [AWS CodeCommit](https://aws.amazon.com/codecommit/) - a SaaS service provided by Amazon Web Service on high availability infrastructure
2022-04-14 07:52:13 +00:00
* [Kiln](https://www.fogcreek.com/kiln/) - paid Git repository hosting service
2016-09-27 01:18:23 +00:00
* [Deveo](https://deveo.com/) - a paid repository hosting service with support for Git, Subversion, Mercurial, WebDAV
2015-09-15 16:06:27 +00:00
## Self-Hosted Repository
2015-09-22 15:13:34 +00:00
*Or you can host the code yourselves*
2015-09-15 16:06:27 +00:00
* [Gitolite](https://gitolite.com/gitolite/) - a simple with fine-grained access control
2015-09-15 16:06:27 +00:00
* [GitHub Enterprise](https://enterprise.github.com/) - self-hosted solution provided from GitHub
2016-09-22 05:24:17 +00: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 15:17:09 +00:00
* [GitLab CE/EE](https://gitlab.com/) - a popular open-source Git (CE) with paid support option (EE).
2022-04-14 07:43:06 +00: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 19:27:46 +00:00
* [Gitea](https://gitea.io/) - a community managed fork of Gogs, lightweight code hosting solution written in Go.
2022-04-14 15:03:38 +00: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-27 01:18:23 +00: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-27 01:18:23 +00:00
* [RhodeCode CE/EE](https://rhodecode.com/) - a platform delivering enterprise source code management
2023-03-28 16:30:25 +00:00
* [Soft Serve](https://github.com/charmbracelet/soft-serve) - a tasty, self-hostable Git server for the command line
2015-09-15 16:06:27 +00:00
## Workflow
2020-05-24 00:00:54 +00:00
*Inexpensive branching allows people adopt workflows other than the classic centralized workflow*
2015-09-15 16:06:27 +00:00
2015-09-15 16:31:32 +00: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 08:47:05 +00:00
* [Patterns for Managing Source Code Branches](https://martinfowler.com/articles/branching-patterns.html)
2022-05-21 03:56:28 +00:00
* [Branching Models article from Nyx](https://mooltiverse.github.io/nyx/guide/user/best-practice/branching-models/)
2022-04-14 08:47:05 +00: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 15:13:34 +00: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 13:59:07 +00: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 16:19:06 +00: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 16:06:27 +00:00
## Hook management
*Git provide hooks at commit/push phrase, allowing integration with and code quality checking tool and Continuous Integration (CI)*
* [pre-commit](https://pre-commit.com/) - a framework for managing and maintaining multi-language pre-commit hooks from Yelp. Extensive support for multiple programming language.
2015-09-22 15:17:09 +00:00
* [Overcommit](https://github.com/brigade/overcommit/) - a extendable Git hook manager written with Ruby.
2016-09-22 05:24:17 +00:00
* [quickhook](https://github.com/dirk/quickhook/) - a fast, Unix'y, opinionated Git hook runner
2018-04-13 08:15:18 +00:00
* [husky](https://github.com/typicode/husky) - Git hooks for Node.js, manage your hooks from your package.json
* [Mookme](https://github.com/Escape-Technologies/mookme) - A simple and easy-to-use, yet powerful and language agnostic git hook for monorepos
2018-04-13 08:15:18 +00:00
* more on https://githooks.com/
2015-09-15 16:06:27 +00:00
## Tools
2015-09-22 15:13:34 +00:00
*Various tools for daily operations*
2015-09-15 16:06:27 +00:00
2017-07-05 17:48:28 +00:00
* [awesome-git-addons](https://github.com/stevemao/awesome-git-addons) - lists more than 20 git addons including all available commands
2015-09-15 16:06:27 +00: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 16:53:31 +00:00
* [gr](http://mixu.net/gr/) - a tool for managing multiple git repositories
2015-09-15 16:06:27 +00: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 15:13:34 +00: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 17:39:40 +00:00
* [git-extras](https://github.com/tj/git-extras) git utilities adding useful git commands.
2016-11-29 17:13:30 +00:00
* [git-extra-commands](https://github.com/unixorn/git-extra-commands) - Another collection of useful git commands.
2017-05-05 14:13:02 +00: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-27 01:18:23 +00: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 12:41:38 +00: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 17:36:11 +00: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 12:13:39 +00: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 12:15:22 +00:00
* [gickup](https://github.com/cooperspencer/gickup) - Backup repos from various hosters to local or other hosters.
2022-04-20 07:30:12 +00: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 16:27:45 +00:00
* [gitbackup](https://github.com/amitsaha/gitbackup) - a tool to backup your Bitbucket, GitHub and GitLab repositories.
2023-07-09 18:27:37 +00:00
* [soba](https://github.com/jonhadfield/soba) - scheduled backups of repositories from popular providers with change detection.
2022-04-14 12:15:22 +00:00
2015-10-03 03:21:40 +00:00
2015-09-15 16:06:27 +00:00
## Extensions
2015-09-22 15:13:34 +00:00
*Git is designed for source control management. but people extend the idea and push version control to everywhere*
2015-09-15 16:06:27 +00:00
2015-09-22 15:13:34 +00: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 15:13:34 +00: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/).