Search code examples
gitupdates

Update Git Automatically


I've seen a lot of posts about how to update git repositories, but I want to know if there's a way to automatically update Git itself. I frequently instal Git on new computers, and I feel like every time I do there's a new version, so I have to update all the installations on my other machines. I would like to always have the latest version of Git. Is this possible in Windows? Perhaps with some kind of batch script?

Thanks in advance!


Solution

  • Going through some old questions of mine and just saw this one. The Git for Windows installer now includes an option to check for git updates daily. Not sure which version introduced this, or whether the same option is available on Mac/Linux, but yeah, that's how you check for git updates automatically. :P