Download and install git
This time we are going to talk about downloading and installing git. There is going to be a separate episode on how to install on Windows, this is some generic overview.
For RedHat, CentOS and similar yum-based Linux distributions:
sudo yum install git-core
For Ubuntu, Debian, and other apt- or deb-based Linux distributions:
sudo apt-get install git-core
You could also download the latest version of git from git-scm, but usually you are better off using the version that is packaged by the vendor of your Linux distribution. It is usually better to use the standard package-management system of your Linux distribution.
Of course, if you have a really, really old version of Linux then, ..., then yous should probably upgrade your Linux.
Well even in older versions of Linux you are still better off using git that was packaged by the vendor.
For Windows there will be a separate video and article, but I'd recommend downloading git from git-scm.
Apple Mac OSX
brew install git
In case you are not familiar with it, Homebrew is a package management system for Mac OSX. It is like apt or yum for Linux. It's a tool to install all kinds of open source projects. You'll probably need a lot more tools than just git, so that's why it is probably better to use Homebrew for git as well.
Published on 2020-05-01