Installing MySQL Using a Development Source Tree MySQL officially joined GitHub in September, 2014. For more information about MySQL’s move to GitHub, refer to the announcement on the MySQL Release Engineering blog: MySQL on GitHub To install MySQL from a development source tree, your system must satisfy the tool requirements listed at Section 2.9.2, “Source Installation Prerequisites” . To set up a MySQL Git repository on your machine: ~/mysql-server$ git branch 213 •Prerequisites for Installing from Development Source •Setting Up a MySQL Git Repository 1. Clone the MySQL Git repository to your machine. The following command clones the MySQL Git repository to a directory named  mysql-server . The initial download may take some time to complete, depending on the speed of your connection. 2. When the clone operation completes, the contents of your local MySQL Git repository appear similar to the following: 3. Use the  git branch -r  command to view the remote tracking branches for the MySQL repository. 4. To view the branch that is checked out in your local repository, issue the  git branch  command. When you clone the MySQL Git repository, the latest MySQL GA branch is checked out automatically. The asterisk identifies the active branch. Prerequisites for Installing from Development Source Setting Up a MySQL Git Repository ~$ git clone https://github.com/mysql/mysql-server.git Cloning into ’mysql-server’... remote: Counting objects: 1198513, done. remote: Total 1198513 (delta 0), reused 0 (delta 0), pack-reused 1198513 Receiving objects: 100% (1198513/1198513), 1.01 GiB | 7.44 MiB/s, done. Resolving deltas: 100% (993200/993200), done. Checking connectivity... done. Checking out files: 100% (25510/25510), done. ~$ cd mysql-server ~/mysql-server$ ls client extra mysys storage cmake include packaging strings CMakeLists.txt INSTALL plugin support-files components libbinlogevents README testclients config.h.cmake libbinlogstandalone router unittest configure.cmake libmysql run_doxygen.cmake utilities Docs libservices scripts VERSION Doxyfile-ignored LICENSE share vio Doxyfile.in man sql win doxygen_resources mysql-test sql-common ~/mysql-server$ git branch -r origin/5.5 origin/5.6 origin/5.7 origin/8.0 origin/HEAD -> origin/8.0 origin/cluster-7.2 origin/cluster-7.3 origin/cluster-7.4 origin/cluster-7.5 origin/cluster-7.6