Here are the basic steps to install Git and create a free GitHub account.
Installing on Windows
There are also a few ways to install Git on Windows. The most official build is available for download on the Git website. Just go to https://git-scm.com/download/win and the download will start automatically. Note that this is a project called Git for Windows, which is separate from Git itself;
Installing on Linux
If you want to install the basic Git tools on Linux via a binary installer, you can generally do so through the package management tool that comes with your distribution. If you’re on Fedora (or any closely-related RPM-based distribution, such as RHEL or CentOS), you can use
$ sudo dnf install git-all
If you’re on a Debian-based distribution, such as Ubuntu, try
$ sudo apt install git-all
Installing on MacOS
A macOS Git installer is maintained and available for download at the Git website, at https://git-scm.com/download/mac.