You are reading an old version of the documentation (v1.2.1). For the latest version see https://matplotlib.org/stable/devel/gitwash/git_install.html
matplotlib

Table Of Contents

Previous topic

Introduction

Next topic

Following the latest source

This Page

Install git

Overview

Debian / Ubuntu sudo apt-get install git-core
Fedora sudo yum install git-core
Windows Download and install msysGit
OS X Use the git-osx-installer

In detail

See the git page for the most recent information.

Have a look at the github install help pages available from github help

There are good instructions here: http://book.git-scm.com/2_installing_git.html