Skip to content

Latest commit

 

History

History
185 lines (160 loc) · 16.5 KB

README.md

File metadata and controls

185 lines (160 loc) · 16.5 KB

Cover image

Awesome Git

A curated list of amazingly awesome Git tools, resources and shiny things.

Contributing

Pull requests on interesting tools/projects/resources are welcome.

Table of Contents

Tutorial

There are tons of learning material on the Web

Style Guide

Style guide when you work with git

Client

Git clients are available on every platform, from mainframe to your mobile device

  • GitHub Desktop - Git Client by GitHub. works with GitHub and GitHub Enterprise seamlessly
  • SourceTree - free (in-beer) GUI client. Windows and Mac only
  • Tower - a popular non-free Git GUI client. Mac and Windows
  • GitKraken - a cross Git client for Windows, Mac & Linux. Electron based. Free for non-commercial use and paid Pro version is available.
  • Fork - An awesome and free git client for macOS and Windows
  • TortoiseGit - an easy-to-use Git client on Windows. well-integrated with Windows Explorer.
  • SmartGit - a commercial comprehensive SCM client with Git, SVN, Mercurial. cross-platform (works on Windows, Mac and Linux)
  • RabbitVCS - TortoiseSVN inspired graphic tool for version control systems, with Nautilus and Thunar integration
  • gitg - a open-source GTK+ GUI client
  • git-cola - a cross-platform Git GUI client
  • SGit - Git client for Android 4.x
  • Ungit - The easiest way to use git. On any platform. Anywhere.
  • GitUp - a clean, minimal Git client. Mac only.
  • GitExtensions - a shell extension, a Visual Studio 2010-2015 plugin and a standalone Git repository tool.
  • WorkingCopy - a powerful Git client for iOS. Free with in-app purchase to unlock the ability to push commits.
  • Git Add-ons - Enhance the basic git CLI
  • Magit - A Git porcelain inside Emacs
  • Vershd - a free for personal use effortless Git GUI for Windows, Mac, & Linux.
  • lazygit - A simple terminal UI for git commands, written in Go

Repository Hosting

People have plenty of options to host their source code

  • GitHub - the de-facto git hosting service. Perfect integration with most external services.
  • BitBucket - well-known for its free private repository (5 user max).
  • Jetbrains Space - Jetbrains all-in-one solution for software teams, with IM, ticket tracking, source control.
  • GitLab.com - a free Git repository hosting service served by GitLab EE. Unlimited repositories and private collaborators
  • Azure DevOps - cloud service for software development formerly known as Visual Studio Team Services, Visual Studio Online and Team Foundation Service Preview
  • AWS CodeCommit - a SaaS service provided by Amazon Web Service on high availability infrastructure
  • Kiln - paid Git repository hosting service
  • Deveo - a paid repository hosting service with support for Git, Subversion, Mercurial, WebDAV

Self-Hosted Repository

Or you can host the code yourselves

  • Gitolite - a simple with fine-grained access control
  • GitHub Enterprise - self-hosted solution provided from GitHub
  • Bitbucket Server - self-hosted refrom Atlassian. Good integration with JIRA and other Atlassian products
  • GitLab CE/EE - a popular open-source Git (CE) with paid support option (EE).
  • 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.*
  • Gogs - a self-hosted Git Service written in Go.
  • Gitea - a community managed fork of Gogs, lightweight code hosting solution written in Go.
  • onedev - Self-hosted Git Server with Kanban and CI/CD
  • GitBucket - a GitHub clone powered by Scala.
  • GitBlit - Pure Java Stack for managing, view, and serving Git repositories.
  • Apache Allura - an open source implementation of project hosting platform
  • Phabricator - an integrated set of powerful tools to help companies build higher quality software
    • Effective June 1, 2021: Phabricator is no longer actively maintained.*
  • RhodeCode CE/EE - a platform delivering enterprise source code management
  • Soft Serve - a tasty, self-hostable Git server for the command line

Workflow

Inexpensive branching allows people adopt workflows other than the classic centralized workflow

Comparing workflows

No single workflow fits everyone's need

  • Gitflow - the most well-known Git workflow model
  • GitHub flow - a simple branching model with a single master
  • GitLab flow
  • Git DMZ Flow
  • Aoneflow - an interesting branch model which delays the final merge to production branch, adopted by Alibaba. more article (in Chinese text) at 1, 2
  • Agit-flow - Inspired by Gerrit workflow, Agit-flow is a centralized git workflow and used in Alibaba’s internal source code platform

Hook management

Git provide hooks at commit/push phrase, allowing integration with and code quality checking tool and Continuous Integration (CI)

  • pre-commit - a framework for managing and maintaining multi-language pre-commit hooks from Yelp. Extensive support for multiple programming language.
  • Overcommit - a extendable Git hook manager written with Ruby.
  • quickhook - a fast, Unix'y, opinionated Git hook runner
  • husky - Git hooks for Node.js, manage your hooks from your package.json
  • Mookme - A simple and easy-to-use, yet powerful and language agnostic git hook for monorepos
  • more on https://githooks.com/

Tools

Various tools for daily operations

  • awesome-git-addons - lists more than 20 git addons including all available commands
  • myrepos - a tool to manage multiple version control repositories
  • mu-repo - a tool to help in dealing with multiple git repositories
  • multi-gitter - a tool to make changes in multiple repositories simultaneously
  • gitwalk - Bulk processing of git repos
  • gr - a tool for managing multiple git repositories
  • BFG Repo-Cleaner - a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history
  • GitIgnore Collection - collection of gitignore files for various programming language
  • etckeeper - a collection of tools to let /etc be stored in a git repository
  • git-extras – git utilities adding useful git commands.
  • git-extra-commands - Another collection of useful git commands.
  • git-follow - a tool for following lifetime changes of a file throughout the history of a Git repository.
  • Gitrob - a command line tool to find sensitive information lingering in publicly available files on GitHub
  • gitFS - a FUSE file system that fully integrates with git
  • Gitless - an experimental version of Git that changes some of Git's underlying concepts
  • ghq — Organization for remote repositories
  • bash-git-prompt - An informative and fancy bash prompt for Git users
  • conventional-changelog - a set of tools for parsing conventional commit messages from git histories
  • release-it - Automate releases for Git repositories and/or npm packages. Changelog generation, GitHub/GitLab releases, etc.
  • gickup - Backup repos from various hosters to local or other hosters.
  • git-absorb - git commit --fixup, but automatic
  • jc --git-log - Convert your git log to JSON.
  • gitbackup - a tool to backup your Bitbucket, GitHub and GitLab repositories.
  • soba - scheduled backups of repositories from popular providers with change detection.

Extensions

Git is designed for source control management. but people extend the idea and push version control to everywhere

  • Git Large File Storage - practical solution for versioning large files. supported by GitHub
  • Git Virtual File System or GVFS - solution for managing very large Git repository while maintaining speed and efficiency of most operations. in developement by Microsoft.
  • git-annex - allow managing large binaries among machines, as if operation a normal git repository. possible to creates a synchronised folder with git-annex assistant.