Download git for linux The content of the README file will be: This is a git repo 5 Adding repository files to an index This is an important step. Option One — Install Git with Yum The easiest way to install Git and have it ready to use is to use CentOS's default repositories.