<commit_before><%- @section = "downloads" %>
<%- @subsection = "" %>

<div id="main">
  <h1>Download for Linux and Unix</h1>
  <p>It is easiest to install Git on Linux using the preferred package manager of your Linux distribution. If you prefer to build from source, you can find the tarballs <a href="https://www.kernel.org/pub/software/scm/git/">on kernel.org</a>.</p>

  <h3>Debian/Ubuntu</h3>
  <code># apt-get install git</code>

  <h3>Fedora</h3>
  <code># yum install git</code> (up to Fedora 21)<br>
  <code># dnf install git</code> (Fedora 22 and later)

  <h3>Gentoo</h3>
  <code># emerge --ask --verbose dev-vcs/git</code>

  <h3>Arch Linux</h3>
  <code># pacman -S git</code>

  <h3>openSUSE</h3>
  <code># zypper install git</code>

  <h3>Mageia</h3>
  <code># urpmi git</code>

  <h3>FreeBSD</h3>
  <code># pkg install git</code>
  
  <h3>Solaris 9/10/11 (<a href="https://www.opencsw.org">OpenCSW</a>)</h3>
  <code># pkgutil -i git</code>

  <h3>Solaris 11 Express</h3>
  <code># pkg install developer/versioning/git</code>
  
  <h3>OpenBSD</h3>
  <code># pkg_add git</code>

  <h3>Alpine</h3>
  <code>$ apk add git</code>
  
  <h3>Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.</h3>
  <p>RHEL and derivatives typically ship older versions of git. You can <a href="https://www.kernel.org/pub/software/scm/git/">download a tarball</a> and build from source, or use a 3rd-party repository such as <a href="https://ius.io/">the IUS Community Project</a> to obtain a more recent version of git.</p>

  <h3>Slitaz</h3>
  <code>$ tazpkg get-install git</code>

</div>
<commit_msg>Add PPA instructions for Ubuntu<commit_after><%- @section = "downloads" %>
<%- @subsection = "" %>

<div id="main">
  <h1>Download for Linux and Unix</h1>
  <p>It is easiest to install Git on Linux using the preferred package manager of your Linux distribution. If you prefer to build from source, you can find the tarballs <a href="https://www.kernel.org/pub/software/scm/git/">on kernel.org</a>.</p>

  <h3>Debian/Ubuntu</h3>
  <code># apt-get install git</code>
  <p>For Ubuntu to get the latest git version with all fixes/features</p>
  <code># add-apt-repository ppa:git-core/ppa</code>
  <code># apt update; apt install git</code>
  
  <h3>Fedora</h3>
  <code># yum install git</code> (up to Fedora 21)<br>
  <code># dnf install git</code> (Fedora 22 and later)

  <h3>Gentoo</h3>
  <code># emerge --ask --verbose dev-vcs/git</code>

  <h3>Arch Linux</h3>
  <code># pacman -S git</code>

  <h3>openSUSE</h3>
  <code># zypper install git</code>

  <h3>Mageia</h3>
  <code># urpmi git</code>

  <h3>FreeBSD</h3>
  <code># pkg install git</code>
  
  <h3>Solaris 9/10/11 (<a href="https://www.opencsw.org">OpenCSW</a>)</h3>
  <code># pkgutil -i git</code>

  <h3>Solaris 11 Express</h3>
  <code># pkg install developer/versioning/git</code>
  
  <h3>OpenBSD</h3>
  <code># pkg_add git</code>

  <h3>Alpine</h3>
  <code>$ apk add git</code>
  
  <h3>Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.</h3>
  <p>RHEL and derivatives typically ship older versions of git. You can <a href="https://www.kernel.org/pub/software/scm/git/">download a tarball</a> and build from source, or use a 3rd-party repository such as <a href="https://ius.io/">the IUS Community Project</a> to obtain a more recent version of git.</p>

  <h3>Slitaz</h3>
  <code>$ tazpkg get-install git</code>

</div>

{'fraction_non_alphanumeric': 0.17348130841121495, 'fraction_numerical': 0.02336448598130841, 'mean_word_length': 3.750346740638003, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 151, 'https://': 8, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '516909', 'n_tokens_mistral': 1421, 'n_tokens_neox': 1313, 'n_words': 366}