Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The version of msysGit that ships with GitHub for Windows

branch: devel

This branch is 0 commits ahead and 0 commits behind devel

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 cmd
Octocat-spinner-32 doc
Octocat-spinner-32 etc
Octocat-spinner-32 git @ 0fce85d
Octocat-spinner-32 include
Octocat-spinner-32 lib
Octocat-spinner-32 libexec
Octocat-spinner-32 mingw
Octocat-spinner-32 share
Octocat-spinner-32 src
Octocat-spinner-32 ssl
Octocat-spinner-32 .gitattributes
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 THIS_IS_MSYSGIT
Octocat-spinner-32 TODO
Octocat-spinner-32 Vagrantfile
Octocat-spinner-32 git-cmd.bat
Octocat-spinner-32 msys.bat

This is the copy of msysGit that ships with GitHub for Windows.

How to make changes

  1. Make sure you have ./ in your $PATH, probably via ~/.bashrc
  2. Make your changes on the devel branch
  3. Run msys.bat
  4. Inside the bash shell, run

This will build a portable Git release and check it in to the PortableGit branch. Now you can push your changes to origin.

Updating git-tfs

  1. Make sure you're in devel (or a branch of it) and not PortableGit
  2. Download the latest git-tfs .zip from
  3. Invoke .\share\git-tfs\extract-git-tfs.ps1 path-to-zip-file
  4. Commit

Repository structure

This repository has two important branches: devel, and PortableGit.


This is the main branch of the repository, and is periodically synced with msysgit/msysgit@devel. This branch contains all of the msysGit source code, Git source code, Git documentation, and supporting build scripts.


This branch is generated from the devel branch. Changes should never be made by hand to this branch, except to the .gitattributes and .gitignore files at the root of the repository.

Something went wrong with that request. Please try again.