Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...
Downloads:
4,755,937
Downloads of v 2.16.2:
52,531
Last Update:
20 Feb 2018
Package Maintainer(s):
Software Author(s):
- The Git Development Community
Tags:
git vcs dvcs version-control msysgit foss cross-platform cliGit
This is not the latest version of Git available.
Downloads:
4,755,937
Downloads of v 2.16.2:
52,531
Maintainer(s):
Software Author(s):
- The Git Development Community
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
Git 2.16.2
This is not the latest version of Git available.
All Checks are Passing
2 Passing Test
To install Git, run the following command from the command line or from PowerShell:
To upgrade Git, run the following command from the command line or from PowerShell:
To uninstall Git, run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download git --internalize --version=2.16.2 --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade git -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade git -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure git installed
win_chocolatey:
name: git
state: present
version: 2.16.2
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'git' do
action :install
version '2.16.2'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: git,
Version: 2.16.2,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller git
{
Name = 'git'
Ensure = 'Present'
Version = '2.16.2'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'git':
provider => 'chocolatey',
ensure => '2.16.2',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install git version="2.16.2" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.
- Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
- Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
- Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.
Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.
This package was approved by moderator AdmiringWorm on 21 Feb 2018.
Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.
Features
- Git BASH: Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the "git" command in LINUX and UNIX environments.
- Git GUI: As Windows users commonly expect graphical user interfaces, Git for Windows also provides the Git GUI, a powerful alternative to Git BASH, offering a graphical version of just about every Git command line function, as well as comprehensive visual diff tools.
- Shell Integration: Simply right-click on a folder in Windows Explorer to access the BASH or GUI.
Package parameters
/GitOnlyOnPath
- Puts gitinstall\cmd on path. This is also done by default if no package parameters are set./GitAndUnixToolsOnPath
- Puts gitinstall\bin on path. This setting will override/GitOnlyOnPath
./NoAutoCrlf
- Ensure 'Checkout as is, commit as is'. This setting only affects new installs, it will not override an existing.gitconfig
./WindowsTerminal
- Makesvim
use the regular Windows terminal instead of MinTTY terminal./NoShellIntegration
- Disables shell integration ( "Git GUI Here" and "Git Bash Here" entries in context menus)./NoCredentialManager
- Disable Git Credential Manager by adding$Env:GCM_VALIDATE='false'
user environment variable./NoGitLfs
- Disable Git LFS installation.
Notes
- The package uses default install options minus cheetah integration and desktop icons. Cheetah prevents a good upgrade scenario, so it has been removed.
Log in or click on link to see number of positives.
- git.2.16.2.nupkg (859041b6fc8a) - ## / 61
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Version | Downloads | Last Updated | Status |
---|---|---|---|
Git 2.30.0.2 | 50517 | Thursday, January 14, 2021 | Approved |
Git 2.30.0 | 58991 | Tuesday, December 29, 2020 | Approved |
Git 2.29.2.3 | 66733 | Tuesday, December 8, 2020 | Approved |
Git 2.29.2.2 | 179422 | Thursday, November 5, 2020 | Approved |
Git 2.29.2 | 57024 | Friday, October 30, 2020 | Approved |
Git 2.29.1 | 67920 | Saturday, October 24, 2020 | Approved |
Git 2.29.0 | 40534 | Tuesday, October 20, 2020 | Approved |
Git 2.28.0 | 229733 | Tuesday, July 28, 2020 | Approved |
Git 2.27.0 | 165251 | Tuesday, June 2, 2020 | Approved |
Git 2.26.2 | 113454 | Monday, April 20, 2020 | Approved |
Git 2.26.1 | 29467 | Wednesday, April 15, 2020 | Approved |
Git 2.26.0 | 59516 | Monday, March 23, 2020 | Approved |
Git 2.25.1 | 81418 | Thursday, February 20, 2020 | Approved |
Git 2.25.0 | 128365 | Tuesday, January 14, 2020 | Approved |
Git 2.24.1.2 | 98048 | Wednesday, December 11, 2019 | Approved |
Git 2.24.0.2 | 54038 | Thursday, November 7, 2019 | Approved |
Git 2.24.0 | 78217 | Tuesday, November 5, 2019 | Approved |
Git 2.23.0 | 229084 | Sunday, August 18, 2019 | Approved |
Git 2.22.0 | 182008 | Saturday, June 8, 2019 | Approved |
Git 2.21.0 | 210086 | Wednesday, February 27, 2019 | Approved |
Git 2.20.1 | 135378 | Saturday, December 15, 2018 | Approved |
Git 2.20.0 | 19151 | Monday, December 10, 2018 | Approved |
Git 2.19.2 | 38358 | Thursday, November 22, 2018 | Approved |
Git 2.19.1 | 102326 | Friday, October 5, 2018 | Approved |
Git 2.19.0 | 102162 | Thursday, September 13, 2018 | Approved |
Git 2.18.0 | 201766 | Friday, June 22, 2018 | Approved |
Git 2.17.1.2 | 147498 | Wednesday, May 30, 2018 | Approved |
Git 2.17.1 | 4885 | Tuesday, May 29, 2018 | Approved |
Git 2.17.0 | 86958 | Tuesday, April 3, 2018 | Approved |
Git 2.16.3 | 21508 | Friday, March 23, 2018 | Approved |
Git 2.16.2 | 52531 | Tuesday, February 20, 2018 | Approved |
Git 2.16.1.4 | 54844 | Thursday, February 8, 2018 | Approved |
Git 2.16.1.3 | 3019 | Tuesday, February 6, 2018 | Approved |
Git 2.16.1.2 | 11332 | Saturday, February 3, 2018 | Approved |
Git 2.16.1 | 22842 | Monday, January 22, 2018 | Approved |
Git 2.16.0.2 | 9828 | Friday, January 19, 2018 | Approved |
Git 2.15.1.2 | 61919 | Thursday, November 30, 2017 | Approved |
Git 2.15.1 | 4630 | Wednesday, November 29, 2017 | Approved |
Git 2.15.0 | 159274 | Monday, October 30, 2017 | Approved |
Git 2.14.3 | 36524 | Tuesday, October 24, 2017 | Approved |
Git 2.14.2.20170927 | 180477 | Wednesday, September 27, 2017 | Approved |
Git 2.14.2 | 5509 | Tuesday, September 26, 2017 | Approved |
Git 2.14.1 | 59680 | Thursday, August 10, 2017 | Approved |
Git 2.14.0.2 | 8432 | Monday, August 7, 2017 | Approved |
Git 2.14.0 | 4965 | Sunday, August 6, 2017 | Approved |
Git 2.13.3 | 23934 | Friday, July 14, 2017 | Approved |
Git 2.13.2 | 21264 | Tuesday, June 27, 2017 | Approved |
Git 2.13.1.2 | 19866 | Friday, June 16, 2017 | Approved |
Git 2.13.1 | 4906 | Wednesday, June 14, 2017 | Approved |
Git 2.13.0 | 93340 | Wednesday, May 10, 2017 | Approved |
Git 2.12.2.2 | 67137 | Wednesday, April 5, 2017 | Approved |
Git 2.12.2 | 14259 | Tuesday, March 28, 2017 | Approved |
Git 2.12.1 | 15744 | Tuesday, March 21, 2017 | Approved |
Git 2.12.0 | 47309 | Saturday, February 25, 2017 | Approved |
Git 2.11.1.20170208 | 17337 | Wednesday, February 8, 2017 | Approved |
Git 2.11.1 | 7287 | Friday, February 3, 2017 | Approved |
Git 2.11.0.3 | 47108 | Saturday, January 14, 2017 | Approved |
Git 2.11.0.2 | 1895 | Friday, January 13, 2017 | Approved |
Git 2.11.0 | 30983 | Thursday, December 1, 2016 | Approved |
Git 2.10.2 | 24067 | Wednesday, November 2, 2016 | Approved |
Git 2.10.1 | 26936 | Tuesday, October 4, 2016 | Approved |
Git 2.10.0 | 21595 | Saturday, September 3, 2016 | Approved |
Git 2.9.3 | 16764 | Saturday, August 13, 2016 | Approved |
Git 2.9.2 | 13842 | Sunday, July 17, 2016 | Approved |
Git 2.9.0 | 922 | Tuesday, June 14, 2016 | Approved |
Git 2.8.4 | 712 | Wednesday, June 8, 2016 | Approved |
Git 2.8.3 | 538 | Friday, May 20, 2016 | Approved |
Git 2.8.2 | 553 | Sunday, May 8, 2016 | Approved |
Git 2.8.1 | 18432 | Tuesday, April 5, 2016 | Approved |
Git 2.8.0 | 6368 | Tuesday, March 29, 2016 | Approved |
Git 2.7.4 | 7980 | Friday, March 18, 2016 | Approved |
Git 2.7.3 | 3470 | Tuesday, March 15, 2016 | Approved |
Git 2.7.2 | 13629 | Tuesday, February 23, 2016 | Approved |
Git 2.7.1 | 10132 | Sunday, February 7, 2016 | Approved |
Git 2.7.0 | 110235 | Tuesday, January 5, 2016 | Approved |
Git 2.6.4 | 10566 | Monday, December 14, 2015 | Approved |
Git 2.6.3 | 17119 | Tuesday, November 10, 2015 | Approved |
Git 2.6.2 | 13597 | Monday, October 19, 2015 | Approved |
Git 2.6.1 | 8831 | Tuesday, October 6, 2015 | Approved |
Git 2.6.0 | 4520 | Tuesday, September 29, 2015 | Approved |
Git 2.5.3 | 7209 | Friday, September 18, 2015 | Approved |
Git 2.5.2 | 5635 | Friday, September 11, 2015 | Approved |
Git 2.5.1 | 7136 | Monday, August 31, 2015 | Approved |
Git 2.5.0 | 7304 | Tuesday, August 18, 2015 | Approved |
Git 1.9.5.20150320 | 72080 | Wednesday, April 29, 2015 | Approved |
Git 1.9.5.20150319 | 16923 | Monday, March 23, 2015 | Approved |
Git 1.9.5.20150114 | 29581 | Wednesday, January 14, 2015 | Approved |
Git 1.9.5 | 11363 | Thursday, December 18, 2014 | Approved |
Git 1.9.4.20140929 | 28501 | Monday, September 29, 2014 | Approved |
Git 1.9.4 | 34470 | Friday, June 13, 2014 | Approved |
Git 1.9.2 | 3567 | Wednesday, June 4, 2014 | Approved |
Git 1.9.0.20140303 | 13450 | Tuesday, April 1, 2014 | Approved |
Git 1.9.0 | 9313 | Tuesday, February 18, 2014 | Approved |
Git 1.8.5.2 | 9300 | Tuesday, December 31, 2013 | Approved |
Git 1.8.4 | 12558 | Tuesday, September 17, 2013 | Approved |
Git 1.8.3 | 9801 | Friday, June 8, 2012 | Approved |
Git 1.8.1.2 | 8636 | Saturday, February 2, 2013 | Approved |
Git 1.8.0 | 5071 | Tuesday, October 23, 2012 | Approved |
Git 1.7.11 | 3900 | Thursday, June 21, 2012 | Approved |
Git 1.7.10 | 1340 | Sunday, May 27, 2012 | Approved |
-
- git.install (= 2.16.2)
Ground Rules:
- This discussion is only about Git and the Git package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Git, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.